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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 110.4 kB / 17.09 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.001241, allocations: 194.2 kB / 18.02 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2171/0.2171, allocations: 43.52 MB / 314.8 MB, free: 468 kB / 254.1 MB 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.001643/0.001643, allocations: 68.38 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1088, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01229/0.1212, allocations: 10.27 MB / 0.4986 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007839/0.129, allocations: 3.791 MB / 0.5023 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.1306, allocations: 59.81 kB / 0.5024 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003979/0.1346, allocations: 1.939 MB / 0.5042 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00455/0.1392, allocations: 1.689 MB / 0.5059 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.1409, allocations: 0.6238 MB / 0.5065 GB, free: 9.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005441/0.1464, allocations: 3.353 MB / 0.5098 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004122/0.1505, allocations: 2.576 MB / 0.5123 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002747/0.1533, allocations: 1.257 MB / 0.5135 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002958/0.1563, allocations: 1.674 MB / 0.5152 GB, free: 420 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009587/0.1573, allocations: 256 kB / 0.5154 GB, free: 164 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002628/0.1599, allocations: 1.03 MB / 0.5164 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002265/0.1622, allocations: 1.59 MB / 0.518 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003491/0.1657, allocations: 1.829 MB / 0.5197 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007654/0.1734, allocations: 5.851 MB / 0.5255 GB, free: 5.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1734, allocations: 0 / 0.5255 GB, free: 5.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1734, allocations: 0 / 0.5255 GB, free: 5.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002309/0.1736, allocations: 4 kB / 0.5255 GB, free: 5.816 MB / 414.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.009458/0.1831, allocations: 4.144 MB / 0.5295 GB, free: 1.602 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1832, allocations: 11.89 kB / 0.5295 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2437/0.4269, allocations: 1.789 MB / 0.5313 GB, free: 37.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003986/0.4309, allocations: 1.998 MB / 0.5332 GB, free: 36.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.4311, allocations: 193.9 kB / 0.5334 GB, free: 36.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004947/0.4316, allocations: 256.2 kB / 0.5336 GB, free: 36.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01379/0.4454, allocations: 8.439 MB / 0.5419 GB, free: 33.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/0.4455, allocations: 41.25 kB / 0.5419 GB, free: 33.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004105/0.446, allocations: 124 kB / 0.542 GB, free: 33.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003222/0.4492, allocations: 1.693 MB / 0.5437 GB, free: 33.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/0.464, allocations: 7.101 MB / 0.5506 GB, free: 31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0347/0.4987, allocations: 34.09 MB / 0.5839 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006893/0.5057, allocations: 3.292 MB / 0.5871 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/0.5075, allocations: 1.466 MB / 0.5886 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006377/0.5139, allocations: 4.372 MB / 0.5928 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.5139, allocations: 51.06 kB / 0.5929 GB, free: 7.508 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.256e-06/0.5139, allocations: 0 / 0.5929 GB, free: 7.508 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02805/0.542, allocations: 11.73 MB / 0.6043 GB, free: 11.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/0.5421, allocations: 162.9 kB / 0.6045 GB, free: 11.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004973/0.5471, allocations: 3.746 MB / 0.6082 GB, free: 7.715 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001723/0.5473, allocations: 45.69 kB / 0.6082 GB, free: 7.664 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001943/0.5492, allocations: 2.862 MB / 0.611 GB, free: 4.773 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005245/0.5498, allocations: 0.539 MB / 0.6115 GB, free: 4.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/0.551, allocations: 1.092 MB / 0.6126 GB, free: 3.129 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.5511, allocations: 305.1 kB / 0.6129 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00228/0.5534, allocations: 1.702 MB / 0.6145 GB, free: 1.121 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00443/0.5579, allocations: 5.131 MB / 0.6196 GB, free: 10.26 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0076/0.5655, allocations: 7.413 MB / 0.6268 GB, free: 1.141 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.597e-05/0.5656, allocations: 32 kB / 0.6268 GB, free: 1.109 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.0103/0.5759, allocations: 6.747 MB / 0.6334 GB, free: 10.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.246e-05/0.576, allocations: 56 kB / 0.6335 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001134/0.5761, allocations: 124 kB / 0.6336 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006196/0.5767, allocations: 325.5 kB / 0.6339 GB, free: 9.859 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003616/0.5803, allocations: 1.244 MB / 0.6351 GB, free: 8.613 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/0.5829, allocations: 2.493 MB / 0.6375 GB, free: 5.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003325/0.5862, allocations: 291.8 kB / 0.6378 GB, free: 5.695 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000474/0.5867, allocations: 332 kB / 0.6381 GB, free: 5.371 MB / 478.1 MB 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 (668): * Single equations (assignments): 664 * 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.002781/0.5895, allocations: 1.806 MB / 0.6399 GB, free: 3.559 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006606/0.5902, allocations: 329.8 kB / 0.6402 GB, free: 3.234 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004647/0.5948, allocations: 2.359 MB / 0.6425 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.5948, allocations: 7.984 kB / 0.6425 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.5949, allocations: 4.109 kB / 0.6425 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.5959, allocations: 0.5533 MB / 0.6431 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005588/0.5965, allocations: 23.98 kB / 0.6431 GB, free: 256 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.5977, allocations: 67.91 kB / 0.6432 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.5979, allocations: 80.53 kB / 0.6432 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004733/0.6027, allocations: 2.821 MB / 0.646 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00416/0.6068, allocations: 3.673 MB / 0.6496 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001026/0.6079, allocations: 0.8835 MB / 0.6504 GB, free: 8.691 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003351/0.6112, allocations: 2.335 MB / 0.6527 GB, free: 6.371 MB / 494.1 MB Notification: Performance of Backend: time 7.11e-07/0.6112, allocations: 0 / 0.6527 GB, free: 6.371 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007179/0.6184, allocations: 3.487 MB / 0.6561 GB, free: 2.887 MB / 494.1 MB Notification: Performance of SimCode: time 0.01426/0.6327, allocations: 7.803 MB / 0.6637 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of Templates: time 0.06972/0.7025, allocations: 36.64 MB / 0.6995 GB, free: 6.395 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches