Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.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.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 112.2 kB / 17.09 MB, free: 5.934 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: 194 kB / 18.02 MB, free: 5.016 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.385/1.385, allocations: 205.1 MB / 223.9 MB, free: 12.19 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.2079/0.2079, 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.001589/0.001589, allocations: 73.47 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1081, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01232/0.1205, allocations: 11.02 MB / 0.4993 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006892/0.1274, allocations: 3.057 MB / 0.5023 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.1291, allocations: 55.94 kB / 0.5023 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003882/0.133, allocations: 2.021 MB / 0.5043 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003104/0.1362, allocations: 1.23 MB / 0.5055 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008905/0.1371, allocations: 295.4 kB / 0.5058 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003498/0.1406, allocations: 2.504 MB / 0.5083 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003093/0.1437, allocations: 2.399 MB / 0.5106 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.1453, allocations: 0.9617 MB / 0.5115 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.1473, allocations: 1.297 MB / 0.5128 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006971/0.148, allocations: 220 kB / 0.513 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.1497, allocations: 0.7138 MB / 0.5137 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001433/0.1512, allocations: 1.243 MB / 0.5149 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002066/0.1533, allocations: 1.472 MB / 0.5164 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005646/0.1589, allocations: 4.855 MB / 0.5211 GB, free: 10.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1589, allocations: 0 / 0.5211 GB, free: 10.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1589, allocations: 0 / 0.5211 GB, free: 10.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001726/0.1591, allocations: 0 / 0.5211 GB, free: 10.29 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: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.006042/0.1652, allocations: 3.231 MB / 0.5243 GB, free: 6.988 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1652, allocations: 11.97 kB / 0.5243 GB, free: 6.977 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005113/0.1703, allocations: 1.641 MB / 0.5259 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/0.1731, allocations: 1.43 MB / 0.5273 GB, free: 3.852 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.1732, allocations: 172.4 kB / 0.5274 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004883/0.1737, allocations: 203.8 kB / 0.5276 GB, free: 3.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2242/0.3979, allocations: 6.965 MB / 0.5344 GB, free: 36.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.373e-05/0.398, allocations: 16.31 kB / 0.5344 GB, free: 36.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002392/0.3982, allocations: 96.33 kB / 0.5345 GB, free: 36.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002202/0.4005, allocations: 1.523 MB / 0.536 GB, free: 36.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01116/0.4116, allocations: 5.945 MB / 0.5418 GB, free: 34.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02651/0.4382, allocations: 22.15 MB / 0.5635 GB, free: 20.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003729/0.4419, allocations: 2.19 MB / 0.5656 GB, free: 18.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008511/0.4428, allocations: 0.8097 MB / 0.5664 GB, free: 18.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005706/0.4485, allocations: 3.968 MB / 0.5703 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.4486, allocations: 43.16 kB / 0.5703 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.946e-06/0.4486, allocations: 0 / 0.5703 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.004695/0.4533, allocations: 2.265 MB / 0.5725 GB, free: 13.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.4533, allocations: 60.06 kB / 0.5726 GB, free: 13.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/0.4553, allocations: 2.056 MB / 0.5746 GB, free: 11.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/0.4553, allocations: 45.69 kB / 0.5746 GB, free: 11.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007145/0.456, allocations: 2.09 MB / 0.5767 GB, free: 9.516 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.4562, allocations: 392 kB / 0.577 GB, free: 9.137 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006051/0.4568, allocations: 0.6777 MB / 0.5777 GB, free: 8.453 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.4569, allocations: 365.9 kB / 0.578 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.458, allocations: 0.9902 MB / 0.579 GB, free: 7.098 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.4597, allocations: 2.997 MB / 0.5819 GB, free: 3.105 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003576/0.4632, allocations: 4.36 MB / 0.5862 GB, free: 13.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.771e-05/0.4633, allocations: 20 kB / 0.5862 GB, free: 13.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005404/0.4687, allocations: 3.894 MB / 0.59 GB, free: 9.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.4687, allocations: 38.66 kB / 0.5901 GB, free: 9.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-05/0.4688, allocations: 76.12 kB / 0.5901 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.021e-05/0.4689, allocations: 99.97 kB / 0.5902 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/0.4709, allocations: 0.7252 MB / 0.5909 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.333e-05/0.471, allocations: 143.3 kB / 0.5911 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.4728, allocations: 461.5 kB / 0.5915 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/0.473, allocations: 205 kB / 0.5917 GB, free: 8.117 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (401): * Single equations (assignments): 396 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001821/0.4748, allocations: 1.469 MB / 0.5931 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.475, allocations: 182.7 kB / 0.5933 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.4769, allocations: 1.245 MB / 0.5945 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.4769, allocations: 3.984 kB / 0.5945 GB, free: 5.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4769, allocations: 4 kB / 0.5945 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00027/0.4772, allocations: 247.7 kB / 0.5948 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.4773, allocations: 15.98 kB / 0.5948 GB, free: 4.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004585/0.4778, allocations: 30.41 kB / 0.5948 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.4779, allocations: 44.59 kB / 0.5949 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001654/0.4796, allocations: 1.143 MB / 0.596 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001551/0.4811, allocations: 1.364 MB / 0.5973 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000593/0.4817, allocations: 0.4896 MB / 0.5978 GB, free: 1.824 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001557/0.4833, allocations: 1.272 MB / 0.599 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of Backend: time 4.71e-07/0.4833, allocations: 0 / 0.599 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00332/0.4866, allocations: 1.993 MB / 0.601 GB, free: 14.55 MB / 446.1 MB Notification: Performance of SimCode: time 0.007924/0.4946, allocations: 5.934 MB / 0.6068 GB, free: 8.555 MB / 446.1 MB Notification: Performance of Templates: time 0.04122/0.5358, allocations: 22.16 MB / 0.6284 GB, free: 2.414 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches