Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 113.1 kB / 17.08 MB, free: 5.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 192.7 kB / 20.02 MB, free: 3.027 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.435/1.435, allocations: 205.1 MB / 227.9 MB, free: 4.332 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3627/0.3627, allocations: 43.51 MB / 320.8 MB, free: 9 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 71.91 kB / 450 MB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3819, allocations: 57.79 MB / 0.4959 GB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.009477/0.3915, allocations: 10.27 MB / 0.5059 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007172/0.3987, allocations: 3.783 MB / 0.5096 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.4006, allocations: 59.12 kB / 0.5097 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003398/0.404, allocations: 1.949 MB / 0.5116 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003993/0.408, allocations: 1.655 MB / 0.5132 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.4095, allocations: 0.6198 MB / 0.5138 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004592/0.4141, allocations: 3.341 MB / 0.5171 GB, free: 3.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002686/0.4168, allocations: 2.586 MB / 0.5196 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.4186, allocations: 1.246 MB / 0.5208 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002144/0.4207, allocations: 1.678 MB / 0.5225 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006414/0.4214, allocations: 260 kB / 0.5227 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/0.4237, allocations: 1.026 MB / 0.5237 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001706/0.4254, allocations: 1.566 MB / 0.5252 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002188/0.4276, allocations: 1.833 MB / 0.527 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007858/0.4355, allocations: 5.869 MB / 0.5328 GB, free: 4.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4355, allocations: 0 / 0.5328 GB, free: 4.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4355, allocations: 0 / 0.5328 GB, free: 4.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001441/0.4357, allocations: 0 / 0.5328 GB, free: 4.328 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.009229/0.4449, allocations: 4.156 MB / 0.5368 GB, free: 100 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.445, allocations: 11.89 kB / 0.5368 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001113/0.4461, allocations: 0.6121 MB / 0.5374 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006534/0.4527, allocations: 1.804 MB / 0.5392 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004997/0.4577, allocations: 2.437 MB / 0.5416 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.4579, allocations: 189 kB / 0.5418 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005625/0.4584, allocations: 259.8 kB / 0.542 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/0.4728, allocations: 8.432 MB / 0.5502 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/0.4729, allocations: 43.64 kB / 0.5503 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003548/0.4733, allocations: 127.8 kB / 0.5504 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002923/0.4762, allocations: 1.695 MB / 0.5521 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/0.4902, allocations: 7.102 MB / 0.559 GB, free: 8.645 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04743/0.5376, allocations: 34.1 MB / 0.5923 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008218/0.5459, allocations: 3.279 MB / 0.5955 GB, free: 2.117 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00226/0.5482, allocations: 1.466 MB / 0.5969 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008598/0.5569, allocations: 4.382 MB / 0.6012 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.426e-05/0.557, allocations: 51.06 kB / 0.6013 GB, free: 11.99 MB / 478.1 MB Notification: Performance of pre-optimization done (n=121): time 5.05e-06/0.557, allocations: 0 / 0.6013 GB, free: 11.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=129): time 0.03266/0.5897, allocations: 11.77 MB / 0.6127 GB, free: 92 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.5899, allocations: 166.9 kB / 0.6129 GB, free: 15.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00614/0.596, allocations: 3.755 MB / 0.6166 GB, free: 12.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001919/0.5962, allocations: 45.64 kB / 0.6166 GB, free: 12.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00228/0.5985, allocations: 2.862 MB / 0.6194 GB, free: 9.203 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006458/0.5992, allocations: 0.5428 MB / 0.6199 GB, free: 8.656 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001499/0.6007, allocations: 1.087 MB / 0.621 GB, free: 7.559 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6008, allocations: 313 kB / 0.6213 GB, free: 7.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002524/0.6034, allocations: 1.689 MB / 0.623 GB, free: 5.555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005509/0.6089, allocations: 5.127 MB / 0.628 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009344/0.6183, allocations: 7.387 MB / 0.6352 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.39e-05/0.6184, allocations: 36 kB / 0.6352 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.3008/0.9192, allocations: 6.707 MB / 0.6418 GB, free: 121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.9194, allocations: 61.22 kB / 0.6418 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002561/0.9196, allocations: 125.8 kB / 0.6419 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009694/0.9206, allocations: 322.9 kB / 0.6422 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004887/0.9255, allocations: 1.237 MB / 0.6435 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0034/0.9289, allocations: 2.497 MB / 0.6459 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005259/0.9342, allocations: 292.3 kB / 0.6462 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001434/0.9357, allocations: 333.3 kB / 0.6465 GB, free: 119.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (664): * Single equations (assignments): 660 * 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 {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005121/0.9408, allocations: 1.79 MB / 0.6482 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009198/0.9417, allocations: 333.2 kB / 0.6486 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004964/0.9467, allocations: 2.357 MB / 0.6509 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.713e-05/0.9468, allocations: 19.41 kB / 0.6509 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.9468, allocations: 2.594 kB / 0.6509 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/0.9468, allocations: 9 kB / 0.6509 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.9581, allocations: 5.926 MB / 0.6567 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.9581, allocations: 1.375 kB / 0.6567 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008204/0.959, allocations: 175.9 kB / 0.6568 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002067/0.961, allocations: 0.7175 MB / 0.6575 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.9612, allocations: 23.34 kB / 0.6576 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005489/0.9667, allocations: 4.815 MB / 0.6623 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.9667, allocations: 1.281 kB / 0.6623 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006024/0.9727, allocations: 4.348 MB / 0.6665 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009949/0.9738, allocations: 0.5468 MB / 0.667 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003223/0.9741, allocations: 23.58 kB / 0.6671 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.9751, allocations: 66.38 kB / 0.6671 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.9753, allocations: 66.88 kB / 0.6672 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-05/0.9754, allocations: 35 kB / 0.6672 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002972/0.9784, allocations: 2.336 MB / 0.6695 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9784, allocations: 3.562 kB / 0.6695 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004147/0.9825, allocations: 0.8264 MB / 0.6703 GB, free: 110 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * 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 {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005802/0.9884, allocations: 4.968 MB / 0.6752 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005341/0.9937, allocations: 4.043 MB / 0.6791 GB, free: 104.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.9938, allocations: 4 kB / 0.6791 GB, free: 104.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.995, allocations: 1.104 MB / 0.6802 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/0.9972, allocations: 399.3 kB / 0.6806 GB, free: 102.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04259/1.04, allocations: 37.81 MB / 0.7175 GB, free: 59.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002427/1.042, allocations: 2.789 MB / 0.7202 GB, free: 57.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003108/1.045, allocations: 1.66 MB / 0.7219 GB, free: 55.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001684/1.047, allocations: 1.526 MB / 0.7233 GB, free: 53.91 MB / 0.4981 GB Notification: Performance of SimCode: time 8.32e-07/1.047, allocations: 0 / 0.7233 GB, free: 53.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09944/1.147, allocations: 57.8 MB / 0.7798 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.44/25.59, allocations: 4.062 kB / 0.7798 GB, free: 12.07 MB / 0.5137 GB " [Timeout remaining time 634] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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: 28.55377698992379]