Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002331/0.002331, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 47.92 kB / 347.2 MB, free: 9.977 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2444, allocations: 49.16 MB / 396.4 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01036/0.2547, allocations: 9.081 MB / 405.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007479/0.2622, allocations: 3.689 MB / 409.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/0.2639, allocations: 65.22 kB / 409.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003951/0.2679, allocations: 2.035 MB / 411.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004409/0.2723, allocations: 1.688 MB / 412.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.2739, allocations: 0.695 MB / 413.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004263/0.2782, allocations: 3.384 MB / 417 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002642/0.2808, allocations: 2.227 MB / 419.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/0.2827, allocations: 1.29 MB / 420.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002531/0.2853, allocations: 1.811 MB / 422.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005242/0.2858, allocations: 264.5 kB / 422.6 MB, free: 8.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/0.2878, allocations: 1.01 MB / 423.6 MB, free: 7.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001585/0.2893, allocations: 1.624 MB / 425.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001536/0.2909, allocations: 1.386 MB / 426.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006542/0.2974, allocations: 6.004 MB / 432.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2974, allocations: 0 / 432.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2974, allocations: 0 / 432.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001157/0.2975, allocations: 0 / 432.6 MB, free: 14.76 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.007348/0.3049, allocations: 4.187 MB / 436.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3049, allocations: 11.98 kB / 436.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008258/0.3058, allocations: 0.6413 MB / 437.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006889/0.3126, allocations: 1.894 MB / 439.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005444/0.3181, allocations: 2.31 MB / 441.6 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.3183, allocations: 209.2 kB / 441.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005699/0.3189, allocations: 267.9 kB / 442.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02046/0.3393, allocations: 10.03 MB / 452.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.3394, allocations: 35.69 kB / 452.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003657/0.3398, allocations: 135.8 kB / 452.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003286/0.3431, allocations: 1.86 MB / 454.2 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01868/0.3617, allocations: 8.517 MB / 462.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04617/0.4079, allocations: 35.44 MB / 498.1 MB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009586/0.4175, allocations: 3.063 MB / 0.4894 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002483/0.42, allocations: 1.697 MB / 0.4911 GB, free: 6.562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/0.4309, allocations: 6.258 MB / 0.4972 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.4309, allocations: 55.55 kB / 0.4973 GB, free: 196 kB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 4.369e-06/0.4309, allocations: 4 kB / 0.4973 GB, free: 192 kB / 414.1 MB Notification: Performance of matching and sorting (n=166): time 0.05333/0.4843, allocations: 17.52 MB / 0.5144 GB, free: 14.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/0.4844, allocations: 141.5 kB / 0.5145 GB, free: 14.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00512/0.4895, allocations: 3.711 MB / 0.5181 GB, free: 10.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002508/0.4897, allocations: 53.7 kB / 0.5182 GB, free: 10.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002222/0.492, allocations: 2.846 MB / 0.521 GB, free: 7.805 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007408/0.4927, allocations: 0.6707 MB / 0.5216 GB, free: 7.129 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001489/0.4942, allocations: 1.135 MB / 0.5227 GB, free: 5.984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4943, allocations: 305.1 kB / 0.523 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003125/0.4975, allocations: 1.944 MB / 0.5249 GB, free: 3.734 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006379/0.5038, allocations: 5.365 MB / 0.5302 GB, free: 12.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/0.5146, allocations: 7.912 MB / 0.5379 GB, free: 3.023 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.88e-05/0.5147, allocations: 39.94 kB / 0.5379 GB, free: 2.984 MB / 462.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01704/0.5318, allocations: 8.149 MB / 0.5459 GB, free: 10.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.282e-05/0.5318, allocations: 64.06 kB / 0.5459 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001632/0.532, allocations: 120 kB / 0.5461 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004325/0.5363, allocations: 1.288 MB / 0.5473 GB, free: 9.352 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004135/0.5405, allocations: 1.263 MB / 0.5485 GB, free: 8.086 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.5508, allocations: 6.384 MB / 0.5548 GB, free: 1.586 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004454/0.5552, allocations: 303.7 kB / 0.5551 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008986/0.5561, allocations: 340 kB / 0.5554 GB, free: 0.957 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (681): * Single equations (assignments): 677 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.178/0.7341, allocations: 1.813 MB / 0.5572 GB, free: 142.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006838/0.7348, allocations: 322.2 kB / 0.5575 GB, free: 142.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007347/0.7421, allocations: 3.354 MB / 0.5608 GB, free: 142.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-05/0.7422, allocations: 18 kB / 0.5608 GB, free: 142.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.7422, allocations: 10.47 kB / 0.5608 GB, free: 142.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-05/0.7422, allocations: 12.62 kB / 0.5608 GB, free: 142.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/0.7569, allocations: 7.241 MB / 0.5679 GB, free: 139.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.7569, allocations: 1.062 kB / 0.5679 GB, free: 139.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.7581, allocations: 238.6 kB / 0.5681 GB, free: 139.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003652/0.7617, allocations: 1.12 MB / 0.5692 GB, free: 139.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001808/0.7619, allocations: 25.53 kB / 0.5692 GB, free: 139.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008452/0.7704, allocations: 6.015 MB / 0.5751 GB, free: 136.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7704, allocations: 1.188 kB / 0.5751 GB, free: 136.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008818/0.7792, allocations: 5.712 MB / 0.5807 GB, free: 134.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001506/0.7807, allocations: 0.5109 MB / 0.5812 GB, free: 134.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004126/0.7811, allocations: 33.69 kB / 0.5812 GB, free: 134.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.7824, allocations: 89.42 kB / 0.5813 GB, free: 134.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.7827, allocations: 95.5 kB / 0.5814 GB, free: 134.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.7828, allocations: 42.45 kB / 0.5814 GB, free: 134.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002767/0.7855, allocations: 2.169 MB / 0.5835 GB, free: 133.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7855, allocations: 0 / 0.5835 GB, free: 133.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003885/0.7894, allocations: 0.9092 MB / 0.5844 GB, free: 133.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00821/0.7976, allocations: 6.359 MB / 0.5906 GB, free: 129.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005942/0.8036, allocations: 4.592 MB / 0.5951 GB, free: 125 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.8036, allocations: 0 / 0.5951 GB, free: 125 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002098/0.8057, allocations: 1.433 MB / 0.5965 GB, free: 123.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/0.8083, allocations: 363.6 kB / 0.5969 GB, free: 123.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04593/0.8542, allocations: 41.34 MB / 0.6372 GB, free: 76.61 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002246/0.8564, allocations: 2.313 MB / 0.6395 GB, free: 74.26 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003104/0.8596, allocations: 1.703 MB / 0.6411 GB, free: 72.55 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/0.8611, allocations: 1.585 MB / 0.6427 GB, free: 70.96 MB / 478.1 MB Notification: Performance of SimCode: time 1.312e-06/0.8611, allocations: 4 kB / 0.6427 GB, free: 70.96 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1451/1.006, allocations: 61.09 MB / 0.7024 GB, free: 9.715 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/16.94, allocations: 7.828 kB / 0.7024 GB, free: 9.707 MB / 478.1 MB " [Timeout remaining time 643] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.5044483859092]