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.001732/0.001732, allocations: 115.5 kB / 18.45 MB, free: 4.625 MB / 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.002145/0.002145, allocations: 211.3 kB / 21.41 MB, free: 1.672 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.523/1.523, allocations: 207.6 MB / 231.8 MB, free: 4.07 MB / 174.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.001718/0.001718, allocations: 51.92 kB / 342.3 MB, free: 9.988 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09287/0.09458, allocations: 49.12 MB / 391.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01272/0.1073, allocations: 10.37 MB / 401.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008237/0.1155, allocations: 3.898 MB / 405.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.1169, allocations: 59.75 kB / 405.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004065/0.1209, allocations: 2.106 MB / 407.9 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004563/0.1255, allocations: 1.677 MB / 409.5 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.1274, allocations: 0.694 MB / 410.2 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005729/0.1331, allocations: 3.393 MB / 413.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003277/0.1364, allocations: 2.306 MB / 415.9 MB, free: 68 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.1386, allocations: 1.293 MB / 417.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002763/0.1413, allocations: 1.908 MB / 419.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005806/0.1419, allocations: 260 kB / 419.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.144, allocations: 1.151 MB / 420.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001659/0.1457, allocations: 1.62 MB / 422.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001997/0.1477, allocations: 1.872 MB / 424 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007009/0.1547, allocations: 5.983 MB / 430 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1547, allocations: 0 / 430 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1547, allocations: 4 kB / 430 MB, free: 1.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001357/0.1548, allocations: 0 / 430 MB, free: 1.93 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.00839/0.1632, allocations: 4.259 MB / 434.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.1632, allocations: 12.03 kB / 434.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009353/0.1642, allocations: 0.6374 MB / 434.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007033/0.1712, allocations: 1.886 MB / 436.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004626/0.1758, allocations: 2.374 MB / 439.2 MB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/0.176, allocations: 209.2 kB / 439.4 MB, free: 8.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006397/0.1767, allocations: 267.9 kB / 439.6 MB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02014/0.1968, allocations: 9.981 MB / 449.6 MB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.1969, allocations: 39.67 kB / 449.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003705/0.1973, allocations: 131.9 kB / 449.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003329/0.2006, allocations: 1.86 MB / 451.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01956/0.2202, allocations: 8.528 MB / 460.2 MB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2141/0.4343, allocations: 36.77 MB / 497 MB, free: 34.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008978/0.4432, allocations: 3.764 MB / 0.489 GB, free: 32.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002077/0.4453, allocations: 1.702 MB / 0.4906 GB, free: 31.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009737/0.455, allocations: 7.542 MB / 0.498 GB, free: 26.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.4551, allocations: 51.5 kB / 0.4981 GB, free: 26.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 4.558e-06/0.4551, allocations: 0 / 0.4981 GB, free: 26.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=166): time 0.04787/0.503, allocations: 17.66 MB / 0.5153 GB, free: 8.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.503, allocations: 145.5 kB / 0.5154 GB, free: 8.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004022/0.507, allocations: 3.506 MB / 0.5189 GB, free: 4.996 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003252/0.5074, allocations: 49.7 kB / 0.5189 GB, free: 4.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.5085, allocations: 2.86 MB / 0.5217 GB, free: 2.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005168/0.509, allocations: 0.6736 MB / 0.5224 GB, free: 1.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.5101, allocations: 1.117 MB / 0.5235 GB, free: 444 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.5102, allocations: 309.1 kB / 0.5237 GB, free: 132 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003207/0.5134, allocations: 1.939 MB / 0.5256 GB, free: 14.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006293/0.5197, allocations: 5.362 MB / 0.5309 GB, free: 7.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/0.5303, allocations: 7.92 MB / 0.5386 GB, free: 13.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.633e-05/0.5304, allocations: 36 kB / 0.5386 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01726/0.5477, allocations: 8.158 MB / 0.5466 GB, free: 5.281 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.623e-05/0.5478, allocations: 59.94 kB / 0.5467 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001534/0.5479, allocations: 127.9 kB / 0.5468 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004441/0.5524, allocations: 1.296 MB / 0.5481 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004363/0.5567, allocations: 1.255 MB / 0.5493 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.5673, allocations: 6.534 MB / 0.5557 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004495/0.5718, allocations: 303.7 kB / 0.556 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009595/0.5728, allocations: 336 kB / 0.5563 GB, free: 11.24 MB / 430.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.003354/0.5761, allocations: 1.818 MB / 0.5581 GB, free: 9.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006963/0.5768, allocations: 321.8 kB / 0.5584 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00828/0.5851, allocations: 3.355 MB / 0.5616 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.043e-05/0.5851, allocations: 22.44 kB / 0.5617 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.5852, allocations: 7.625 kB / 0.5617 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.121e-05/0.5852, allocations: 7.969 kB / 0.5617 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01698/0.6022, allocations: 7.575 MB / 0.5691 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/0.6022, allocations: 0 / 0.5691 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/0.6036, allocations: 239.7 kB / 0.5693 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004295/0.6078, allocations: 1.12 MB / 0.5704 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002429/0.6081, allocations: 31.98 kB / 0.5704 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/0.6186, allocations: 6.167 MB / 0.5764 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.6186, allocations: 0 / 0.5764 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/0.6301, allocations: 5.723 MB / 0.582 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/0.6317, allocations: 0.5847 MB / 0.5826 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004201/0.6321, allocations: 24.05 kB / 0.5826 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.6334, allocations: 95.83 kB / 0.5827 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003011/0.6337, allocations: 88.81 kB / 0.5828 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/0.6339, allocations: 46.19 kB / 0.5828 GB, free: 15.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003983/0.6378, allocations: 2.162 MB / 0.585 GB, free: 13.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6378, allocations: 3.938 kB / 0.585 GB, free: 13.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004581/0.6424, allocations: 0.9139 MB / 0.5859 GB, free: 12.7 MB / 462.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.01226/0.6547, allocations: 6.357 MB / 0.5921 GB, free: 6.305 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009437/0.6641, allocations: 4.593 MB / 0.5965 GB, free: 1.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/0.6641, allocations: 0.8438 kB / 0.5965 GB, free: 1.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002707/0.6668, allocations: 1.426 MB / 0.5979 GB, free: 300 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/0.6692, allocations: 372.4 kB / 0.5983 GB, free: 15.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07215/0.7413, allocations: 41.29 MB / 0.6386 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1933/0.9347, allocations: 2.851 MB / 0.6414 GB, free: 177.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004527/0.9392, allocations: 1.706 MB / 0.6431 GB, free: 177.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002134/0.9413, allocations: 1.585 MB / 0.6446 GB, free: 177.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.353e-06/0.9413, allocations: 4.625 kB / 0.6446 GB, free: 177.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1392/1.081, allocations: 60.88 MB / 0.7041 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.74/20.82, allocations: 0 / 0.7041 GB, free: 130.1 MB / 0.4981 GB " [Timeout remaining time 639] (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: 23.535020399998757]