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.001353/0.001352, allocations: 110.7 kB / 18.45 MB, free: 4.617 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.001411/0.001411, allocations: 191.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.326/1.326, 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.1953/0.1953, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001434, allocations: 59.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3328, allocations: 60.81 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01045/0.3433, allocations: 9.758 MB / 0.5291 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007376/0.3508, allocations: 2.915 MB / 0.5319 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.3527, allocations: 57 kB / 0.532 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004116/0.3569, allocations: 1.988 MB / 0.5339 GB, free: 9.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003648/0.3606, allocations: 1.156 MB / 0.5351 GB, free: 8.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.3616, allocations: 294.3 kB / 0.5353 GB, free: 8.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00381/0.3654, allocations: 2.32 MB / 0.5376 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003699/0.3692, allocations: 2.341 MB / 0.5399 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.3708, allocations: 0.8954 MB / 0.5408 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002044/0.3729, allocations: 1.183 MB / 0.5419 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006839/0.3736, allocations: 197.9 kB / 0.5421 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.3752, allocations: 0.7011 MB / 0.5428 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001313/0.3766, allocations: 1.157 MB / 0.5439 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001641/0.3782, allocations: 1.347 MB / 0.5452 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004675/0.3829, allocations: 4.47 MB / 0.5496 GB, free: 13.19 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3829, allocations: 0 / 0.5496 GB, free: 13.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3829, allocations: 0 / 0.5496 GB, free: 13.19 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001163/0.3831, allocations: 0 / 0.5496 GB, free: 13.19 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.005383/0.3885, allocations: 3.024 MB / 0.5526 GB, free: 10.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3885, allocations: 8.031 kB / 0.5526 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004967/0.3935, allocations: 1.61 MB / 0.5541 GB, free: 8.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/0.3958, allocations: 1.356 MB / 0.5555 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.3959, allocations: 144.1 kB / 0.5556 GB, free: 6.938 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004049/0.3963, allocations: 199.8 kB / 0.5558 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008762/0.4051, allocations: 6.432 MB / 0.5621 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.536e-05/0.4051, allocations: 11.88 kB / 0.5621 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/0.4054, allocations: 87.95 kB / 0.5622 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002072/0.4075, allocations: 1.41 MB / 0.5635 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009001/0.4165, allocations: 5.495 MB / 0.5689 GB, free: 9.016 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02638/0.4429, allocations: 20.5 MB / 0.5889 GB, free: 3.941 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00378/0.4467, allocations: 2.001 MB / 0.5909 GB, free: 1.816 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009163/0.4476, allocations: 0.6914 MB / 0.5916 GB, free: 1.117 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005869/0.4535, allocations: 3.644 MB / 0.5951 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.4536, allocations: 39 kB / 0.5952 GB, free: 13.28 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.625e-06/0.4536, allocations: 0 / 0.5952 GB, free: 13.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.004899/0.4585, allocations: 1.994 MB / 0.5971 GB, free: 11.28 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.4585, allocations: 55.84 kB / 0.5972 GB, free: 11.21 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/0.4611, allocations: 1.967 MB / 0.5991 GB, free: 9.246 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.4611, allocations: 37.69 kB / 0.5991 GB, free: 9.203 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.4623, allocations: 1.962 MB / 0.601 GB, free: 7.219 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.4626, allocations: 333.5 kB / 0.6013 GB, free: 6.891 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007345/0.4633, allocations: 0.6196 MB / 0.6019 GB, free: 6.262 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4634, allocations: 357.9 kB / 0.6023 GB, free: 5.906 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.4646, allocations: 0.892 MB / 0.6032 GB, free: 5.012 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00227/0.4669, allocations: 2.77 MB / 0.6059 GB, free: 1.301 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003779/0.4707, allocations: 3.996 MB / 0.6098 GB, free: 12.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.025e-05/0.4708, allocations: 20 kB / 0.6098 GB, free: 12.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.004825/0.4756, allocations: 3.569 MB / 0.6133 GB, free: 8.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.79e-05/0.4757, allocations: 32 kB / 0.6133 GB, free: 8.738 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.868e-05/0.4758, allocations: 68 kB / 0.6134 GB, free: 8.672 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.271e-05/0.4759, allocations: 88.81 kB / 0.6135 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.4776, allocations: 0.6589 MB / 0.6141 GB, free: 7.926 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-05/0.4777, allocations: 139.4 kB / 0.6142 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.4794, allocations: 432.7 kB / 0.6146 GB, free: 7.367 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/0.4796, allocations: 188 kB / 0.6148 GB, free: 7.184 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.001734/0.4814, allocations: 1.369 MB / 0.6162 GB, free: 5.805 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.4816, allocations: 178.8 kB / 0.6163 GB, free: 5.629 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.4819, allocations: 197.2 kB / 0.6165 GB, free: 5.434 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4819, allocations: 3.984 kB / 0.6165 GB, free: 5.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.4819, allocations: 0 / 0.6165 GB, free: 5.43 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.4822, allocations: 235.8 kB / 0.6167 GB, free: 5.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.4824, allocations: 11.98 kB / 0.6168 GB, free: 5.168 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.4828, allocations: 23.91 kB / 0.6168 GB, free: 5.145 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/0.4829, allocations: 28.41 kB / 0.6168 GB, free: 5.117 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001308/0.4842, allocations: 0.9448 MB / 0.6177 GB, free: 4.168 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001198/0.4854, allocations: 1.148 MB / 0.6188 GB, free: 2.996 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000463/0.4859, allocations: 411.5 kB / 0.6192 GB, free: 2.598 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001517/0.4874, allocations: 1.207 MB / 0.6204 GB, free: 1.398 MB / 478.1 MB Notification: Performance of Backend: time 4.01e-07/0.4874, allocations: 0 / 0.6204 GB, free: 1.398 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003083/0.4905, allocations: 1.816 MB / 0.6222 GB, free: 15.58 MB / 494.1 MB Notification: Performance of SimCode: time 0.008152/0.4987, allocations: 5.55 MB / 0.6276 GB, free: 9.977 MB / 494.1 MB Notification: Performance of Templates: time 0.03789/0.5366, allocations: 19.94 MB / 0.6471 GB, free: 6.078 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