Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 113.9 kB / 18.46 MB, free: 4.609 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.001212/0.001212, allocations: 186.1 kB / 19.39 MB, free: 3.688 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.371/1.371, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2127/0.2127, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3203, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01027/0.3306, allocations: 9.735 MB / 0.5291 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007041/0.3377, allocations: 2.926 MB / 0.5319 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002082/0.3398, allocations: 58.03 kB / 0.532 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004562/0.3444, allocations: 1.984 MB / 0.5339 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003644/0.3481, allocations: 1.156 MB / 0.535 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009654/0.3491, allocations: 294.3 kB / 0.5353 GB, free: 8.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00373/0.3528, allocations: 2.321 MB / 0.5376 GB, free: 7.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002962/0.3558, allocations: 2.34 MB / 0.5399 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.3573, allocations: 0.8999 MB / 0.5408 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.3588, allocations: 1.175 MB / 0.5419 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003731/0.3592, allocations: 198.5 kB / 0.5421 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.3605, allocations: 0.7052 MB / 0.5428 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.3615, allocations: 1.153 MB / 0.5439 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.3627, allocations: 1.355 MB / 0.5452 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004504/0.3672, allocations: 4.451 MB / 0.5496 GB, free: 13.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3673, allocations: 0 / 0.5496 GB, free: 13.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3673, allocations: 0 / 0.5496 GB, free: 13.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.606e-05/0.3674, allocations: 0 / 0.5496 GB, free: 13.23 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.004887/0.3723, allocations: 2.939 MB / 0.5524 GB, free: 10.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.3723, allocations: 12.03 kB / 0.5525 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005332/0.3777, allocations: 1.588 MB / 0.554 GB, free: 8.629 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003055/0.3808, allocations: 1.359 MB / 0.5553 GB, free: 7.223 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.3809, allocations: 148 kB / 0.5555 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000393/0.3813, allocations: 195.8 kB / 0.5557 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00879/0.3901, allocations: 6.428 MB / 0.5619 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.427e-05/0.3902, allocations: 15.88 kB / 0.562 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002423/0.3904, allocations: 87.84 kB / 0.562 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00209/0.3925, allocations: 1.407 MB / 0.5634 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008732/0.4012, allocations: 5.492 MB / 0.5688 GB, free: 9.168 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02467/0.4259, allocations: 20.45 MB / 0.5887 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003965/0.4299, allocations: 2.001 MB / 0.5907 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009039/0.4309, allocations: 0.6914 MB / 0.5914 GB, free: 1.309 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006719/0.4376, allocations: 3.635 MB / 0.5949 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.4376, allocations: 39 kB / 0.595 GB, free: 13.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.735e-06/0.4377, allocations: 0 / 0.595 GB, free: 13.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005198/0.4429, allocations: 1.981 MB / 0.5969 GB, free: 11.49 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.4429, allocations: 59.84 kB / 0.597 GB, free: 11.42 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/0.4456, allocations: 1.966 MB / 0.5989 GB, free: 9.453 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.4457, allocations: 37.69 kB / 0.5989 GB, free: 9.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001151/0.4468, allocations: 1.883 MB / 0.6008 GB, free: 7.496 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.4471, allocations: 312.1 kB / 0.6011 GB, free: 7.188 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006882/0.4478, allocations: 0.6191 MB / 0.6017 GB, free: 6.559 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4479, allocations: 353.9 kB / 0.602 GB, free: 6.207 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.4491, allocations: 0.8959 MB / 0.6029 GB, free: 5.309 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/0.4519, allocations: 2.774 MB / 0.6056 GB, free: 1.594 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004466/0.4563, allocations: 4.01 MB / 0.6095 GB, free: 12.65 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.941e-05/0.4564, allocations: 20 kB / 0.6095 GB, free: 12.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005076/0.4615, allocations: 3.549 MB / 0.613 GB, free: 9.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/0.4615, allocations: 36 kB / 0.613 GB, free: 9.035 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.176e-05/0.4616, allocations: 64 kB / 0.6131 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.292e-05/0.4617, allocations: 88.78 kB / 0.6132 GB, free: 8.887 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/0.4635, allocations: 0.659 MB / 0.6138 GB, free: 8.227 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001069/0.4636, allocations: 143.4 kB / 0.6139 GB, free: 8.086 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.4654, allocations: 419.5 kB / 0.6143 GB, free: 7.672 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/0.4656, allocations: 188 kB / 0.6145 GB, free: 7.488 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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 (365): * Single equations (assignments): 360 * 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.001867/0.4675, allocations: 1.365 MB / 0.6159 GB, free: 6.113 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.4677, allocations: 173.8 kB / 0.616 GB, free: 5.941 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.468, allocations: 193.2 kB / 0.6162 GB, free: 5.75 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.4681, allocations: 3.984 kB / 0.6162 GB, free: 5.746 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4681, allocations: 0 / 0.6162 GB, free: 5.746 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.4684, allocations: 222.8 kB / 0.6164 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.4685, allocations: 15.98 kB / 0.6164 GB, free: 5.492 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.469, allocations: 27.91 kB / 0.6165 GB, free: 5.465 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/0.4691, allocations: 24.41 kB / 0.6165 GB, free: 5.441 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001328/0.4704, allocations: 0.9448 MB / 0.6174 GB, free: 4.492 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001228/0.4716, allocations: 1.139 MB / 0.6185 GB, free: 3.328 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004643/0.4721, allocations: 407.5 kB / 0.6189 GB, free: 2.934 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001492/0.4736, allocations: 1.207 MB / 0.6201 GB, free: 1.734 MB / 478.1 MB Notification: Performance of Backend: time 2.6e-07/0.4736, allocations: 0 / 0.6201 GB, free: 1.734 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003242/0.4769, allocations: 1.818 MB / 0.6219 GB, free: 15.92 MB / 494.1 MB Notification: Performance of SimCode: time 0.008141/0.485, allocations: 5.467 MB / 0.6272 GB, free: 10.4 MB / 494.1 MB Notification: Performance of Templates: time 0.03642/0.5215, allocations: 19.94 MB / 0.6467 GB, free: 6.504 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches