Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 111.9 kB / 17.09 MB, free: 5.938 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.001166/0.001166, allocations: 199.3 kB / 18.02 MB, free: 5.023 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.349/1.349, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2284/0.2284, allocations: 43.53 MB / 314.8 MB, free: 448 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.001598/0.001598, allocations: 73.45 kB / 442.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1241, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01416/0.1384, allocations: 12.66 MB / 0.5009 GB, free: 15.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008424/0.1468, allocations: 3.969 MB / 0.5048 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002085/0.1489, allocations: 63.88 kB / 0.5049 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003008/0.152, allocations: 1.319 MB / 0.5062 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004277/0.1563, allocations: 1.794 MB / 0.5079 GB, free: 7.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.1576, allocations: 495 kB / 0.5084 GB, free: 7.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004733/0.1623, allocations: 3.668 MB / 0.512 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003093/0.1654, allocations: 2.04 MB / 0.5139 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.1676, allocations: 1.234 MB / 0.5152 GB, free: 404 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/0.1704, allocations: 1.744 MB / 0.5169 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008951/0.1713, allocations: 240 kB / 0.5171 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.1735, allocations: 0.94 MB / 0.518 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002028/0.1755, allocations: 1.632 MB / 0.5196 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002421/0.1779, allocations: 1.948 MB / 0.5215 GB, free: 9.871 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006669/0.1846, allocations: 6.363 MB / 0.5277 GB, free: 3.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.1846, allocations: 3.938 kB / 0.5277 GB, free: 3.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1846, allocations: 0 / 0.5277 GB, free: 3.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001424/0.1848, allocations: 4 kB / 0.5277 GB, free: 3.477 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.2504/0.4352, allocations: 4.228 MB / 0.5319 GB, free: 37.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.4353, allocations: 15.5 kB / 0.5319 GB, free: 37.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/0.4459, allocations: 3.075 MB / 0.5349 GB, free: 37.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004943/0.4509, allocations: 1.968 MB / 0.5368 GB, free: 36.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/0.4511, allocations: 189.9 kB / 0.537 GB, free: 36.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008253/0.452, allocations: 258.3 kB / 0.5372 GB, free: 36.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0185/0.4705, allocations: 10.69 MB / 0.5477 GB, free: 32.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.752e-05/0.4706, allocations: 31.94 kB / 0.5477 GB, free: 32.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003663/0.471, allocations: 130.6 kB / 0.5478 GB, free: 32.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004215/0.4752, allocations: 2.639 MB / 0.5504 GB, free: 31.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0164/0.4916, allocations: 10.03 MB / 0.5602 GB, free: 25.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04551/0.5372, allocations: 35.08 MB / 0.5944 GB, free: 5.129 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.5476, allocations: 5.188 MB / 0.5995 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003518/0.5512, allocations: 2.301 MB / 0.6018 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001928/0.5531, allocations: 1.872 MB / 0.6036 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.049e-05/0.5532, allocations: 56.56 kB / 0.6036 GB, free: 11.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 5.661e-06/0.5532, allocations: 0 / 0.6036 GB, free: 11.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03321/0.5864, allocations: 14.04 MB / 0.6173 GB, free: 13.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.5865, allocations: 73.41 kB / 0.6174 GB, free: 12.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00419/0.5907, allocations: 2.672 MB / 0.62 GB, free: 10.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002962/0.591, allocations: 57.7 kB / 0.6201 GB, free: 10.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00205/0.5931, allocations: 2.701 MB / 0.6227 GB, free: 7.469 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001163/0.5943, allocations: 0.8479 MB / 0.6235 GB, free: 6.609 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00201/0.5963, allocations: 1.064 MB / 0.6246 GB, free: 5.535 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5964, allocations: 305.1 kB / 0.6249 GB, free: 5.234 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003537/0.6, allocations: 2.212 MB / 0.627 GB, free: 3.016 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005744/0.6057, allocations: 5.143 MB / 0.6321 GB, free: 12.44 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009513/0.6153, allocations: 8.054 MB / 0.6399 GB, free: 2.961 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.907e-05/0.6154, allocations: 32 kB / 0.64 GB, free: 2.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01397/0.6294, allocations: 7.953 MB / 0.6477 GB, free: 10.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.6295, allocations: 48 kB / 0.6478 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001842/0.6297, allocations: 100 kB / 0.6479 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002238/0.6319, allocations: 0.7942 MB / 0.6486 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003852/0.6358, allocations: 1.213 MB / 0.6498 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005753/0.6416, allocations: 4.516 MB / 0.6542 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003777/0.6454, allocations: 295.7 kB / 0.6545 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008407/0.6462, allocations: 308 kB / 0.6548 GB, free: 3.578 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (644): * Single equations (assignments): 637 * Array equations: 6 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003846/0.6501, allocations: 2.059 MB / 0.6568 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006212/0.6507, allocations: 264.5 kB / 0.6571 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008191/0.6589, allocations: 4.722 MB / 0.6617 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.961e-05/0.659, allocations: 15.95 kB / 0.6617 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.659, allocations: 0 / 0.6617 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/0.6604, allocations: 0.6342 MB / 0.6623 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006097/0.6611, allocations: 35.94 kB / 0.6623 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.6624, allocations: 139.8 kB / 0.6625 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003318/0.6627, allocations: 117.8 kB / 0.6626 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00743/0.6701, allocations: 4.235 MB / 0.6667 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008299/0.6785, allocations: 6.266 MB / 0.6729 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00215/0.6806, allocations: 1.741 MB / 0.6746 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003131/0.6838, allocations: 1.635 MB / 0.6761 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of Backend: time 7.11e-07/0.6838, allocations: 0 / 0.6761 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008242/0.692, allocations: 4.029 MB / 0.6801 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of SimCode: time 0.01522/0.7073, allocations: 8.449 MB / 0.6883 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of Templates: time 0.07439/0.7817, allocations: 41.58 MB / 0.7289 GB, free: 7.504 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches