Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 113.9 kB / 18.46 MB, free: 4.594 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.001071/0.001071, allocations: 185.9 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2046/0.2046, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3587, allocations: 60.82 MB / 0.5196 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01956/0.3783, allocations: 18.21 MB / 0.5374 GB, free: 6.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.3923, allocations: 5.282 MB / 0.5425 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00609/0.3985, allocations: 114.4 kB / 0.5426 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00704/0.4055, allocations: 3.056 MB / 0.5456 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008428/0.414, allocations: 2.642 MB / 0.5482 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.4169, allocations: 1.02 MB / 0.5492 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01099/0.4279, allocations: 7.48 MB / 0.5565 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007206/0.4351, allocations: 4.179 MB / 0.5606 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004399/0.4395, allocations: 2.262 MB / 0.5628 GB, free: 15.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005054/0.4446, allocations: 3.24 MB / 0.566 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001662/0.4463, allocations: 452 kB / 0.5664 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003624/0.45, allocations: 1.311 MB / 0.5677 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003633/0.4536, allocations: 2.844 MB / 0.5704 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006453/0.4601, allocations: 3.2 MB / 0.5736 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0153/0.4754, allocations: 10.06 MB / 0.5834 GB, free: 10.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.4755, allocations: 4 kB / 0.5834 GB, free: 10.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4755, allocations: 0 / 0.5834 GB, free: 10.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004078/0.4759, allocations: 0 / 0.5834 GB, free: 10.45 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.02021/0.4961, allocations: 7.389 MB / 0.5906 GB, free: 2.973 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.4962, allocations: 11.97 kB / 0.5906 GB, free: 2.961 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01735/0.5135, allocations: 3.869 MB / 0.5944 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/0.5242, allocations: 4.137 MB / 0.5984 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003364/0.5246, allocations: 316.4 kB / 0.5987 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003369/0.528, allocations: 439.8 kB / 0.5992 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03594/0.564, allocations: 15.59 MB / 0.6144 GB, free: 9.82 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002901/0.5643, allocations: 55.59 kB / 0.6144 GB, free: 9.766 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001601/0.5659, allocations: 199.8 kB / 0.6146 GB, free: 9.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006884/0.5728, allocations: 3.38 MB / 0.6179 GB, free: 6.188 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03166/0.6045, allocations: 14.82 MB / 0.6324 GB, free: 7.355 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08778/0.6923, allocations: 55.08 MB / 0.6862 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02021/0.7126, allocations: 8.213 MB / 0.6942 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007237/0.7199, allocations: 4.843 MB / 0.6989 GB, free: 1.797 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002316/0.7222, allocations: 2.2 MB / 0.7011 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/0.7224, allocations: 69.08 kB / 0.7012 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=367): time 1.244e-05/0.7224, allocations: 0 / 0.7012 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.4192/1.142, allocations: 40.26 MB / 0.7405 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/1.142, allocations: 116.2 kB / 0.7406 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005098/1.147, allocations: 4.304 MB / 0.7448 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005229/1.147, allocations: 81.39 kB / 0.7449 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001716/1.149, allocations: 3.948 MB / 0.7487 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001212/1.15, allocations: 1.553 MB / 0.7502 GB, free: 156 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001817/1.152, allocations: 1.587 MB / 0.7518 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.003e-05/1.152, allocations: 301.1 kB / 0.7521 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004511/1.157, allocations: 4.073 MB / 0.7561 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005586/1.162, allocations: 7.846 MB / 0.7637 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/1.174, allocations: 12.88 MB / 0.7763 GB, free: 127 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-05/1.174, allocations: 36 kB / 0.7763 GB, free: 127 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.02338/1.197, allocations: 14.76 MB / 0.7907 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001481/1.197, allocations: 60 kB / 0.7908 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002177/1.198, allocations: 124 kB / 0.7909 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007973/1.206, allocations: 2.932 MB / 0.7938 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006704/1.212, allocations: 1.809 MB / 0.7956 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/1.231, allocations: 15.95 MB / 0.8111 GB, free: 91.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007304/1.239, allocations: 0.5034 MB / 0.8116 GB, free: 90.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001858/1.241, allocations: 431.8 kB / 0.812 GB, free: 90.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 50 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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 (942): * Single equations (assignments): 934 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008666/1.249, allocations: 2.877 MB / 0.8148 GB, free: 87.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002581/1.252, allocations: 476.9 kB / 0.8153 GB, free: 86.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02253/1.274, allocations: 10.93 MB / 0.826 GB, free: 75.76 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.068e-05/1.275, allocations: 23.92 kB / 0.826 GB, free: 75.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/1.275, allocations: 5.875 kB / 0.826 GB, free: 75.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/1.276, allocations: 0.494 MB / 0.8265 GB, free: 75.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001757/1.278, allocations: 63.98 kB / 0.8265 GB, free: 75.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003647/1.281, allocations: 307 kB / 0.8268 GB, free: 74.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00114/1.283, allocations: 258.5 kB / 0.8271 GB, free: 74.61 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0201/1.303, allocations: 9.744 MB / 0.8366 GB, free: 64.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01636/1.319, allocations: 12.64 MB / 0.8489 GB, free: 52.22 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004105/1.323, allocations: 3.603 MB / 0.8525 GB, free: 48.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003996/1.327, allocations: 2.681 MB / 0.8551 GB, free: 45.93 MB / 0.5606 GB Notification: Performance of Backend: time 8.52e-07/1.327, allocations: 0 / 0.8551 GB, free: 45.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01337/1.341, allocations: 7.081 MB / 0.862 GB, free: 38.86 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02195/1.363, allocations: 13.61 MB / 0.8753 GB, free: 25.19 MB / 0.5606 GB Notification: Performance of Templates: time 0.4352/1.798, allocations: 84.03 MB / 0.9573 GB, free: 204.4 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches