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.001017/0.001017, allocations: 88.25 kB / 22.22 MB, free: 2.281 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.001192/0.001192, allocations: 166.1 kB / 25.61 MB, free: 8.574 MB / 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 0.9078/0.9078, allocations: 177 MB / 205.9 MB, free: 4.441 MB / 186.7 MB " [Timeout remaining time 179] 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.1412/0.1412, allocations: 34.87 MB / 297.4 MB, free: 13.32 MB / 282.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.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.489e-05, allocations: 3.578 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.00665/0.006675, allocations: 9.007 MB / 389 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00527/0.01194, allocations: 2.836 MB / 391.8 MB, free: 10.85 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.01331, allocations: 55.81 kB / 391.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002097/0.0154, allocations: 2.103 MB / 394 MB, free: 8.688 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.01745, allocations: 1.174 MB / 395.2 MB, free: 7.508 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005318/0.01799, allocations: 327.2 kB / 395.5 MB, free: 7.188 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002119/0.02011, allocations: 2.371 MB / 397.9 MB, free: 4.812 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.02171, allocations: 1.789 MB / 399.6 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.02303, allocations: 1.298 MB / 400.9 MB, free: 1.676 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.02432, allocations: 1.173 MB / 402.1 MB, free: 0.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003617/0.02468, allocations: 196 kB / 402.3 MB, free: 316 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009556/0.02564, allocations: 0.6437 MB / 403 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008453/0.02648, allocations: 1.184 MB / 404.1 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000753/0.02724, allocations: 0.7164 MB / 404.9 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002586/0.02982, allocations: 2.724 MB / 407.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.02983, allocations: 0 / 407.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.02983, allocations: 0 / 407.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.114e-05/0.02989, allocations: 3.938 kB / 407.6 MB, free: 11.02 MB / 330.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.003344/0.03324, allocations: 3.11 MB / 410.7 MB, free: 7.852 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.03327, allocations: 12.03 kB / 410.7 MB, free: 7.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002187/0.03546, allocations: 0.994 MB / 411.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.03693, allocations: 1.13 MB / 412.8 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.457e-05/0.03701, allocations: 144 kB / 413 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.03721, allocations: 188.3 kB / 413.2 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003763/0.04097, allocations: 3.039 MB / 416.2 MB, free: 1.945 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/0.04101, allocations: 15.88 kB / 416.2 MB, free: 1.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/0.04116, allocations: 83.91 kB / 416.3 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001197/0.04236, allocations: 1.204 MB / 417.5 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003005/0.04536, allocations: 1.442 MB / 418.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01895/0.06431, allocations: 20.46 MB / 439.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.06623, allocations: 0.8447 MB / 440.2 MB, free: 9.168 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.06647, allocations: 193.9 kB / 440.4 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003422/0.06989, allocations: 2.486 MB / 442.9 MB, free: 6.461 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.06992, allocations: 37.89 kB / 443 MB, free: 6.414 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 4.428e-06/0.06993, allocations: 0 / 443 MB, free: 6.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002541/0.07247, allocations: 1.233 MB / 444.2 MB, free: 5.172 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.07251, allocations: 59.91 kB / 444.2 MB, free: 5.102 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/0.07456, allocations: 1.794 MB / 446 MB, free: 3.285 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.0746, allocations: 33.7 kB / 446.1 MB, free: 3.246 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001249/0.07585, allocations: 2.027 MB / 448.1 MB, free: 1.195 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.07611, allocations: 337.5 kB / 448.4 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007205/0.07683, allocations: 0.6848 MB / 449.1 MB, free: 168 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.07702, allocations: 0.5354 MB / 449.7 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003929/0.07741, allocations: 225.7 kB / 449.9 MB, free: 15.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002084/0.0795, allocations: 3.009 MB / 452.9 MB, free: 11.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003091/0.08259, allocations: 3.616 MB / 456.5 MB, free: 6.227 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.458e-05/0.08262, allocations: 20 kB / 456.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003186/0.08581, allocations: 2.337 MB / 458.9 MB, free: 3.867 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/0.08585, allocations: 32 kB / 458.9 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.337e-05/0.08592, allocations: 64 kB / 458.9 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.461e-05/0.08599, allocations: 88 kB / 459 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.08738, allocations: 0.6394 MB / 459.7 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.625e-05/0.08747, allocations: 127.5 kB / 459.8 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.08896, allocations: 417.3 kB / 460.2 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.08915, allocations: 164 kB / 460.4 MB, free: 2.352 MB / 378.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.0008202/0.08997, allocations: 409.5 kB / 460.8 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.09016, allocations: 170.9 kB / 460.9 MB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.09036, allocations: 164 kB / 461.1 MB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.09038, allocations: 8 kB / 461.1 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.09038, allocations: 0 / 461.1 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.09039, allocations: 4 kB / 461.1 MB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004368/0.09476, allocations: 2.8 MB / 463.9 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.09476, allocations: 4 kB / 463.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.09504, allocations: 95.84 kB / 464 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.09505, allocations: 8 kB / 464 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.09508, allocations: 20 kB / 464 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/0.09509, allocations: 15.92 kB / 464 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/0.0951, allocations: 16.38 kB / 464.1 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007937/0.0959, allocations: 0.8663 MB / 464.9 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.09609, allocations: 158.7 kB / 465.1 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.09621, allocations: 16 kB / 465.1 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.09652, allocations: 16 kB / 465.1 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.09662, allocations: 63.73 kB / 465.2 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.09666, allocations: 24 kB / 465.2 MB, free: 13.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007303/0.09739, allocations: 0.7349 MB / 465.9 MB, free: 12.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.09739, allocations: 4 kB / 465.9 MB, free: 12.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00224/0.09963, allocations: 0.7044 MB / 466.6 MB, free: 11.75 MB / 394.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.0002836/0.09991, allocations: 143 kB / 466.8 MB, free: 11.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001739/0.1017, allocations: 1.186 MB / 468 MB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1017, allocations: 0.875 kB / 468 MB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.1019, allocations: 197.6 kB / 468.2 MB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008762/0.1028, allocations: 192.1 kB / 468.3 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006747/0.1095, allocations: 4.4 MB / 472.7 MB, free: 5.473 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007907/0.1103, allocations: 0.7657 MB / 473.5 MB, free: 4.684 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007556/0.1111, allocations: 242.6 kB / 473.7 MB, free: 4.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/0.1115, allocations: 302.1 kB / 474 MB, free: 4.145 MB / 394.7 MB Notification: Performance of SimCode: time 1.663e-06/0.1115, allocations: 0 / 474 MB, free: 4.145 MB / 394.7 MB Notification: Performance of Templates: time 0.02433/0.1358, allocations: 12.66 MB / 486.7 MB, free: 7.688 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.726760610938072]