Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001522/0.001522, allocations: 96.25 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001654/0.001654, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.348/0.348, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.8e-05/4.008e-05, allocations: 6.25 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01854/0.01858, allocations: 8.419 MB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009038/0.02762, allocations: 2.788 MB / 388.4 MB, free: 7.629 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.02879, allocations: 55.81 kB / 388.5 MB, free: 7.574 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006019/0.03481, allocations: 2.072 MB / 390.5 MB, free: 5.496 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00391/0.03872, allocations: 1.171 MB / 391.7 MB, free: 4.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.03985, allocations: 327.2 kB / 392 MB, free: 4 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00469/0.04454, allocations: 2.371 MB / 394.4 MB, free: 1.625 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003588/0.04813, allocations: 1.785 MB / 396.2 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002406/0.05053, allocations: 1.29 MB / 397.5 MB, free: 14.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00238/0.05291, allocations: 1.138 MB / 398.6 MB, free: 13.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004271/0.05334, allocations: 192 kB / 398.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.05505, allocations: 0.6474 MB / 399.4 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001688/0.05674, allocations: 1.169 MB / 400.6 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.05807, allocations: 0.7202 MB / 401.3 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007553/0.06562, allocations: 4.287 MB / 405.6 MB, free: 6.332 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.06563, allocations: 0 / 405.6 MB, free: 6.332 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.06563, allocations: 0 / 405.6 MB, free: 6.332 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.88e-05/0.06571, allocations: 0 / 405.6 MB, free: 6.332 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.007672/0.07338, allocations: 2.835 MB / 408.5 MB, free: 3.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.07343, allocations: 8.031 kB / 408.5 MB, free: 3.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008867/0.0823, allocations: 1.934 MB / 410.4 MB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004453/0.08675, allocations: 1.282 MB / 411.7 MB, free: 196 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.08695, allocations: 156 kB / 411.8 MB, free: 40 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005769/0.08753, allocations: 184.3 kB / 412 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0154/0.1029, allocations: 6.258 MB / 418.3 MB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.763e-05/0.103, allocations: 11.88 kB / 418.3 MB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000457/0.1035, allocations: 87.91 kB / 418.4 MB, free: 9.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003459/0.1069, allocations: 1.34 MB / 419.7 MB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01546/0.1224, allocations: 5.334 MB / 425 MB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1992/0.3216, allocations: 18.42 MB / 443.5 MB, free: 94.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00378/0.3254, allocations: 1.565 MB / 445 MB, free: 94.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007636/0.3261, allocations: 0.6388 MB / 445.7 MB, free: 94.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005528/0.3316, allocations: 3.114 MB / 448.8 MB, free: 94.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.3317, allocations: 41.11 kB / 448.8 MB, free: 94.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.745e-06/0.3317, allocations: 0 / 448.8 MB, free: 94.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.004887/0.3366, allocations: 2.132 MB / 450.9 MB, free: 93.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.3366, allocations: 57.62 kB / 451 MB, free: 93.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/0.3386, allocations: 1.933 MB / 452.9 MB, free: 93.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.03e-05/0.3386, allocations: 39.92 kB / 453 MB, free: 93.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007335/0.3394, allocations: 1.9 MB / 454.9 MB, free: 91.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.3395, allocations: 329.6 kB / 455.2 MB, free: 91.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000618/0.3402, allocations: 0.6076 MB / 455.8 MB, free: 91.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.533e-05/0.3402, allocations: 353.4 kB / 456.1 MB, free: 90.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.3413, allocations: 0.8898 MB / 457 MB, free: 90.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.3428, allocations: 2.75 MB / 459.8 MB, free: 87.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/0.3455, allocations: 3.967 MB / 463.8 MB, free: 84.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.019e-05/0.3456, allocations: 19.06 kB / 463.8 MB, free: 84.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004246/0.3498, allocations: 3.677 MB / 467.5 MB, free: 83.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.3498, allocations: 37.16 kB / 467.5 MB, free: 83.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.385e-05/0.3499, allocations: 67 kB / 467.6 MB, free: 83.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.433e-05/0.35, allocations: 83.91 kB / 467.6 MB, free: 83.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.3516, allocations: 0.6566 MB / 468.3 MB, free: 83.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.947e-05/0.3516, allocations: 132.3 kB / 468.4 MB, free: 83.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.3533, allocations: 415.3 kB / 468.8 MB, free: 82.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/0.3535, allocations: 191 kB / 469 MB, free: 82.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.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 (362): * Single equations (assignments): 357 * 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.001583/0.3551, allocations: 1.34 MB / 470.4 MB, free: 82.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/0.3553, allocations: 174.5 kB / 470.5 MB, free: 82.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.3556, allocations: 192.1 kB / 470.7 MB, free: 81.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.3556, allocations: 9.125 kB / 470.7 MB, free: 81.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.3556, allocations: 7.219 kB / 470.7 MB, free: 81.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3556, allocations: 0 / 470.7 MB, free: 81.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004201/0.3598, allocations: 3.098 MB / 473.8 MB, free: 80.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.3598, allocations: 6.906 kB / 473.8 MB, free: 80.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.3602, allocations: 106 kB / 473.9 MB, free: 80.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.3602, allocations: 9.031 kB / 473.9 MB, free: 80.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/0.3603, allocations: 16 kB / 474 MB, free: 80.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/0.3603, allocations: 12.44 kB / 474 MB, free: 80.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/0.3603, allocations: 18.59 kB / 474 MB, free: 80.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.3615, allocations: 1.26 MB / 475.2 MB, free: 79.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.3617, allocations: 152.1 kB / 475.4 MB, free: 79.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.3619, allocations: 19.16 kB / 475.4 MB, free: 79.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/0.3623, allocations: 26.45 kB / 475.4 MB, free: 79.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-05/0.3624, allocations: 58.67 kB / 475.5 MB, free: 79.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.3625, allocations: 32.89 kB / 475.5 MB, free: 79.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001404/0.3639, allocations: 1.113 MB / 476.6 MB, free: 79.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3639, allocations: 1.438 kB / 476.6 MB, free: 79.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002571/0.3664, allocations: 0.7067 MB / 477.4 MB, free: 79.14 MB / 410.7 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.0002963/0.3667, allocations: 146.6 kB / 477.5 MB, free: 79.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002752/0.3695, allocations: 1.953 MB / 479.4 MB, free: 78.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/0.3695, allocations: 5.062 kB / 479.5 MB, free: 78.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004919/0.37, allocations: 436.5 kB / 479.9 MB, free: 78.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.3711, allocations: 189.2 kB / 480.1 MB, free: 78.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007075/0.3782, allocations: 5.163 MB / 485.2 MB, free: 75.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/0.3799, allocations: 1.705 MB / 486.9 MB, free: 75.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001672/0.3816, allocations: 0.9421 MB / 487.9 MB, free: 75.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.3818, allocations: 120.4 kB / 488 MB, free: 75.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/0.3818, allocations: 0 / 488 MB, free: 75.1 MB / 410.7 MB Notification: Performance of Templates: time 0.02269/0.4045, allocations: 11.63 MB / 499.6 MB, free: 71.59 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.545140106929466]