Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.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.Forces.Torque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2") translateModel(ModelicaTest.MultiBody.Forces.Torque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 112.2 kB / 17.09 MB, free: 5.988 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.001569/0.001569, allocations: 200.2 kB / 18.02 MB, free: 5.066 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.285/1.285, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1895/0.1895, allocations: 43.52 MB / 314.8 MB, free: 464 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.00138/0.00138, allocations: 69.47 kB / 442.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1019, allocations: 57.8 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque2): time 0.02946/0.1314, allocations: 30.12 MB / 0.518 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01867/0.1501, allocations: 7.772 MB / 0.5256 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006145/0.1563, allocations: 211.4 kB / 0.5258 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.255/0.4114, allocations: 10.54 MB / 0.5361 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01579/0.4272, allocations: 4.525 MB / 0.5405 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005602/0.4329, allocations: 2.01 MB / 0.5425 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02306/0.4559, allocations: 12.91 MB / 0.5551 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01641/0.4724, allocations: 13.56 MB / 0.5683 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01009/0.4825, allocations: 5.042 MB / 0.5733 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01251/0.4951, allocations: 6.857 MB / 0.58 GB, free: 4.977 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003962/0.4991, allocations: 1.141 MB / 0.5811 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006302/0.5054, allocations: 1.99 MB / 0.583 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007398/0.5128, allocations: 6.372 MB / 0.5892 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01186/0.5247, allocations: 7.095 MB / 0.5962 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02589/0.5506, allocations: 21.53 MB / 0.6172 GB, free: 15.36 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5507, allocations: 0 / 0.6172 GB, free: 15.36 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.606e-06/0.5507, allocations: 4 kB / 0.6172 GB, free: 15.35 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0008884/0.5516, allocations: 3.938 kB / 0.6172 GB, free: 15.35 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4457 * Number of variables: 4457 Notification: Performance of Generate backend data structure: time 0.03999/0.5916, allocations: 14.86 MB / 0.6317 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.5916, allocations: 11.89 kB / 0.6317 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02471/0.6163, allocations: 4.354 MB / 0.636 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02004/0.6364, allocations: 8.753 MB / 0.6445 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001017/0.6375, allocations: 0.7426 MB / 0.6453 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004432/0.6419, allocations: 1.013 MB / 0.6462 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06448/0.7064, allocations: 29.56 MB / 0.6751 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006792/0.7072, allocations: 122.9 kB / 0.6752 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003811/0.711, allocations: 472.6 kB / 0.6757 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01013/0.7211, allocations: 5.505 MB / 0.681 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05389/0.7751, allocations: 24.98 MB / 0.7054 GB, free: 4.039 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6498/1.425, allocations: 111.9 MB / 0.8147 GB, free: 124.6 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03342/1.458, allocations: 13.93 MB / 0.8283 GB, free: 121 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009865/1.468, allocations: 8.692 MB / 0.8368 GB, free: 117.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03357/1.502, allocations: 20.2 MB / 0.8566 GB, free: 105.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.919e-05/1.502, allocations: 101.6 kB / 0.8567 GB, free: 105.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=562): time 1.092e-05/1.502, allocations: 0 / 0.8567 GB, free: 105.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=646): time 0.1739/1.676, allocations: 72.95 MB / 0.9279 GB, free: 37.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/1.676, allocations: 386 kB / 0.9283 GB, free: 36.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01452/1.691, allocations: 12.17 MB / 0.9401 GB, free: 24.65 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001779/1.692, allocations: 129.2 kB / 0.9403 GB, free: 24.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003901/1.696, allocations: 8.402 MB / 0.9485 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003034/1.699, allocations: 2.381 MB / 0.9508 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004097/1.704, allocations: 3.282 MB / 0.954 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.169e-05/1.704, allocations: 313.1 kB / 0.9543 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008917/1.713, allocations: 7.453 MB / 0.9616 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01903/1.732, allocations: 15.96 MB / 0.9772 GB, free: 14.68 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2977/2.029, allocations: 25.06 MB / 1.002 GB, free: 185.8 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002987/2.03, allocations: 87.56 kB / 1.002 GB, free: 185.8 MB / 0.6232 GB Notification: Performance of matching and sorting (n=2106) (initialization): time 0.05197/2.082, allocations: 27.4 MB / 1.028 GB, free: 178.7 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/2.082, allocations: 128.4 kB / 1.029 GB, free: 178.7 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003515/2.082, allocations: 294 kB / 1.029 GB, free: 178.7 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01033/2.092, allocations: 4.505 MB / 1.033 GB, free: 177.9 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01267/2.105, allocations: 3.818 MB / 1.037 GB, free: 177.5 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02853/2.134, allocations: 28.65 MB / 1.065 GB, free: 161.9 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01381/2.148, allocations: 0.9695 MB / 1.066 GB, free: 161.1 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00303/2.151, allocations: 0.9001 MB / 1.067 GB, free: 160.3 MB / 0.6232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1336 * Number of states: 0 () * Number of discrete variables: 120 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1966): * Single equations (assignments): 1955 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,23,100.0%), (2,23,100.0%), (2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01053/2.161, allocations: 5.752 MB / 1.072 GB, free: 154.9 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002062/2.163, allocations: 1.054 MB / 1.073 GB, free: 154.4 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02474/2.188, allocations: 16.69 MB / 1.09 GB, free: 137.7 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001499/2.188, allocations: 35.88 kB / 1.09 GB, free: 137.6 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/2.188, allocations: 0 / 1.09 GB, free: 137.6 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005441/2.194, allocations: 2.235 MB / 1.092 GB, free: 135.6 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002785/2.196, allocations: 110.2 kB / 1.092 GB, free: 135.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006149/2.203, allocations: 467.3 kB / 1.093 GB, free: 135 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001258/2.204, allocations: 436.9 kB / 1.093 GB, free: 134.6 MB / 0.6232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02572/2.23, allocations: 16.49 MB / 1.109 GB, free: 118.2 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02196/2.252, allocations: 21.03 MB / 1.13 GB, free: 97.04 MB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005841/2.258, allocations: 5.884 MB / 1.135 GB, free: 91.16 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.01315/2.271, allocations: 7.8 MB / 1.143 GB, free: 83.39 MB / 0.6232 GB Notification: Performance of Backend: time 6.01e-07/2.271, allocations: 0 / 1.143 GB, free: 83.39 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.02764/2.298, allocations: 13.26 MB / 1.156 GB, free: 70.18 MB / 0.6232 GB Notification: Performance of SimCode: time 0.05333/2.352, allocations: 27.56 MB / 1.183 GB, free: 42.62 MB / 0.6232 GB Notification: Performance of Templates: time 0.489/2.841, allocations: 157.3 MB / 1.336 GB, free: 117.2 MB / 0.6232 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque2/Torque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches