Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002305/0.002305, allocations: 194.8 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 225.6 MB / 251.6 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2283/0.2283, allocations: 44.92 MB / 351.6 MB, free: 12.21 MB / 286.1 MB " [Timeout remaining time 180] 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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.91 kB / 495.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3959, allocations: 64.26 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01367/0.4096, allocations: 9.821 MB / 0.556 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008274/0.4179, allocations: 2.957 MB / 0.5589 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002863/0.4207, allocations: 51.88 kB / 0.5589 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00436/0.4251, allocations: 2.021 MB / 0.5609 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003786/0.4289, allocations: 1.16 MB / 0.562 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009943/0.4299, allocations: 287.4 kB / 0.5623 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004326/0.4342, allocations: 2.314 MB / 0.5645 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.4366, allocations: 1.655 MB / 0.5662 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/0.4383, allocations: 0.8995 MB / 0.567 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.4404, allocations: 1.269 MB / 0.5683 GB, free: 9.289 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004294/0.4409, allocations: 200 kB / 0.5685 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.4424, allocations: 0.7294 MB / 0.5692 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.4435, allocations: 1.188 MB / 0.5703 GB, free: 7.172 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001476/0.445, allocations: 1.347 MB / 0.5717 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006096/0.4511, allocations: 4.47 MB / 0.576 GB, free: 1.328 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.4511, allocations: 4 kB / 0.576 GB, free: 1.324 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4511, allocations: 0 / 0.576 GB, free: 1.324 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001391/0.4513, allocations: 3.938 kB / 0.576 GB, free: 1.32 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.007164/0.4584, allocations: 3.018 MB / 0.579 GB, free: 14.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.4585, allocations: 8.031 kB / 0.579 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005256/0.4637, allocations: 1.606 MB / 0.5806 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003331/0.4671, allocations: 1.36 MB / 0.5819 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.4672, allocations: 154.3 kB / 0.582 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004686/0.4677, allocations: 187.9 kB / 0.5822 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01195/0.4796, allocations: 6.436 MB / 0.5885 GB, free: 4.172 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.904e-05/0.4797, allocations: 11.88 kB / 0.5885 GB, free: 4.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002628/0.4799, allocations: 91.89 kB / 0.5886 GB, free: 4.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002222/0.4822, allocations: 1.407 MB / 0.59 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01131/0.4935, allocations: 5.487 MB / 0.5953 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03316/0.5266, allocations: 20.5 MB / 0.6153 GB, free: 8.082 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004553/0.5312, allocations: 1.938 MB / 0.6172 GB, free: 6.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.5322, allocations: 0.6367 MB / 0.6179 GB, free: 5.375 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007494/0.5397, allocations: 3.648 MB / 0.6214 GB, free: 1.582 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.5398, allocations: 39 kB / 0.6215 GB, free: 1.535 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 7.324e-06/0.5398, allocations: 3.984 kB / 0.6215 GB, free: 1.531 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.006045/0.5458, allocations: 1.994 MB / 0.6234 GB, free: 15.53 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.5459, allocations: 55.84 kB / 0.6235 GB, free: 15.46 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003449/0.5493, allocations: 1.967 MB / 0.6254 GB, free: 13.49 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.618e-05/0.5494, allocations: 33.7 kB / 0.6254 GB, free: 13.45 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001713/0.5511, allocations: 1.958 MB / 0.6273 GB, free: 11.47 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003814/0.5515, allocations: 329.6 kB / 0.6276 GB, free: 11.15 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009134/0.5524, allocations: 0.6351 MB / 0.6283 GB, free: 10.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002364/0.5527, allocations: 357.7 kB / 0.6286 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.5541, allocations: 0.892 MB / 0.6295 GB, free: 9.258 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003245/0.5573, allocations: 2.77 MB / 0.6322 GB, free: 5.547 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005519/0.5629, allocations: 3.999 MB / 0.6361 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.869e-05/0.5629, allocations: 23.94 kB / 0.6361 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.006363/0.5693, allocations: 3.558 MB / 0.6396 GB, free: 13.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.956e-05/0.5693, allocations: 32 kB / 0.6396 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.941e-05/0.5694, allocations: 68 kB / 0.6397 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001049/0.5695, allocations: 88 kB / 0.6398 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/0.5714, allocations: 0.6589 MB / 0.6404 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001186/0.5715, allocations: 132.1 kB / 0.6405 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/0.5738, allocations: 436.7 kB / 0.6409 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003052/0.5741, allocations: 188 kB / 0.6411 GB, free: 11.44 MB / 494.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.002795/0.5769, allocations: 1.373 MB / 0.6425 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000372/0.5773, allocations: 162.9 kB / 0.6426 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/0.5776, allocations: 201.2 kB / 0.6428 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/0.5777, allocations: 8 kB / 0.6428 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.5777, allocations: 0 / 0.6428 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.5777, allocations: 7.922 kB / 0.6428 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006836/0.5845, allocations: 4.097 MB / 0.6468 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.5845, allocations: 8.156 kB / 0.6468 GB, free: 5.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/0.5849, allocations: 107.8 kB / 0.6469 GB, free: 5.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.406e-05/0.585, allocations: 11.94 kB / 0.647 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/0.585, allocations: 23.98 kB / 0.647 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/0.585, allocations: 11.94 kB / 0.647 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.964e-06/0.585, allocations: 8 kB / 0.647 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.5867, allocations: 1.264 MB / 0.6482 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005163/0.5872, allocations: 263.7 kB / 0.6485 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.5874, allocations: 27.92 kB / 0.6485 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004976/0.5879, allocations: 27.98 kB / 0.6485 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.588, allocations: 59.81 kB / 0.6486 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.315e-05/0.5881, allocations: 28 kB / 0.6486 GB, free: 3.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002068/0.5901, allocations: 1.291 MB / 0.6499 GB, free: 2.199 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5901, allocations: 3.938 kB / 0.6499 GB, free: 2.195 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003038/0.5932, allocations: 0.7163 MB / 0.6506 GB, free: 1.477 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * Array equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0003231/0.5935, allocations: 142.9 kB / 0.6507 GB, free: 1.328 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003471/0.597, allocations: 1.964 MB / 0.6526 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.597, allocations: 0.5 kB / 0.6526 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006656/0.5976, allocations: 439.8 kB / 0.6531 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.5989, allocations: 254.9 kB / 0.6533 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009501/0.6084, allocations: 5.241 MB / 0.6584 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/0.6111, allocations: 2.319 MB / 0.6607 GB, free: 7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002276/0.6134, allocations: 0.9678 MB / 0.6616 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.6137, allocations: 123.4 kB / 0.6617 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of SimCode: time 1.623e-06/0.6137, allocations: 0 / 0.6617 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of Templates: time 0.03733/0.651, allocations: 16.18 MB / 0.6775 GB, free: 5.758 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.945786853320897]