Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001334/0.001334, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 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.001392/0.001392, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 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.588/1.588, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2343/0.2343, allocations: 46.89 MB / 358.1 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 83.84 kB / 0.4923 GB, free: 8.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1372, allocations: 65.98 MB / 0.5568 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01196/0.1492, allocations: 9.575 MB / 0.5661 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00638/0.1556, allocations: 2.936 MB / 0.569 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.1567, allocations: 51.88 kB / 0.5691 GB, free: 9.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003953/0.1607, allocations: 2.017 MB / 0.571 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002878/0.1636, allocations: 1.133 MB / 0.5721 GB, free: 6.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007491/0.1643, allocations: 291.5 kB / 0.5724 GB, free: 5.895 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003331/0.1677, allocations: 2.333 MB / 0.5747 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002454/0.1701, allocations: 1.914 MB / 0.5766 GB, free: 1.602 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.1713, allocations: 0.8723 MB / 0.5774 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001679/0.1729, allocations: 1.254 MB / 0.5786 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000361/0.1733, allocations: 196 kB / 0.5788 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.1747, allocations: 0.7294 MB / 0.5795 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.1758, allocations: 1.137 MB / 0.5806 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001383/0.1772, allocations: 1.301 MB / 0.5819 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004872/0.1821, allocations: 4.338 MB / 0.5861 GB, free: 7.742 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1821, allocations: 0 / 0.5861 GB, free: 7.742 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1821, allocations: 4 kB / 0.5862 GB, free: 7.738 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.949e-05/0.1822, allocations: 0 / 0.5862 GB, free: 7.738 MB / 446.1 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.005096/0.1873, allocations: 2.938 MB / 0.589 GB, free: 4.738 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.1873, allocations: 12.03 kB / 0.589 GB, free: 4.727 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005293/0.1926, allocations: 1.578 MB / 0.5906 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002796/0.1954, allocations: 1.336 MB / 0.5919 GB, free: 1.766 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.1955, allocations: 152 kB / 0.592 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004474/0.196, allocations: 187.8 kB / 0.5922 GB, free: 1.434 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2898/0.4858, allocations: 6.249 MB / 0.5983 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.682e-05/0.4858, allocations: 13.12 kB / 0.5983 GB, free: 32.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000251/0.4861, allocations: 87.02 kB / 0.5984 GB, free: 32.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002333/0.4884, allocations: 1.342 MB / 0.5997 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0105/0.4989, allocations: 5.336 MB / 0.6049 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02557/0.5245, allocations: 20.07 MB / 0.6245 GB, free: 17.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003781/0.5283, allocations: 1.94 MB / 0.6264 GB, free: 16.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007061/0.529, allocations: 0.6344 MB / 0.627 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005276/0.5343, allocations: 3.616 MB / 0.6306 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.5343, allocations: 45.8 kB / 0.6306 GB, free: 13.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.156e-06/0.5343, allocations: 0 / 0.6306 GB, free: 13.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004629/0.5389, allocations: 1.992 MB / 0.6326 GB, free: 11.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.5389, allocations: 59.84 kB / 0.6326 GB, free: 11.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/0.5409, allocations: 1.944 MB / 0.6345 GB, free: 9.926 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.541, allocations: 33.7 kB / 0.6345 GB, free: 9.887 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007249/0.5417, allocations: 1.916 MB / 0.6364 GB, free: 8.098 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.5419, allocations: 328.5 kB / 0.6367 GB, free: 7.781 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005563/0.5424, allocations: 0.6218 MB / 0.6373 GB, free: 7.152 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.042e-05/0.5425, allocations: 353.9 kB / 0.6377 GB, free: 6.801 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009291/0.5434, allocations: 0.8854 MB / 0.6385 GB, free: 5.914 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/0.5449, allocations: 2.751 MB / 0.6412 GB, free: 2.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003755/0.5487, allocations: 3.971 MB / 0.6451 GB, free: 13.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.561e-05/0.5487, allocations: 22.06 kB / 0.6451 GB, free: 13.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005615/0.5543, allocations: 3.528 MB / 0.6486 GB, free: 9.777 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.515e-05/0.5544, allocations: 36 kB / 0.6486 GB, free: 9.742 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-05/0.5545, allocations: 64 kB / 0.6487 GB, free: 9.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.727e-05/0.5546, allocations: 91.94 kB / 0.6488 GB, free: 9.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/0.5564, allocations: 0.655 MB / 0.6494 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001092/0.5565, allocations: 131.5 kB / 0.6495 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.5583, allocations: 426.2 kB / 0.6499 GB, free: 8.387 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002459/0.5585, allocations: 188 kB / 0.6501 GB, free: 8.203 MB / 462.1 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.002128/0.5607, allocations: 1.348 MB / 0.6514 GB, free: 6.848 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.5609, allocations: 162.9 kB / 0.6516 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003985/0.5613, allocations: 196.9 kB / 0.6518 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/0.5613, allocations: 15.94 kB / 0.6518 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.5613, allocations: 3.688 kB / 0.6518 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.5613, allocations: 3.984 kB / 0.6518 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006534/0.5679, allocations: 4.024 MB / 0.6557 GB, free: 2.293 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.5679, allocations: 8 kB / 0.6557 GB, free: 2.285 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.5683, allocations: 106.5 kB / 0.6558 GB, free: 2.184 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/0.5683, allocations: 12.75 kB / 0.6558 GB, free: 2.172 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/0.5683, allocations: 20 kB / 0.6559 GB, free: 2.152 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.899e-06/0.5684, allocations: 15.94 kB / 0.6559 GB, free: 2.137 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.677e-06/0.5684, allocations: 11.94 kB / 0.6559 GB, free: 2.125 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.57, allocations: 1.271 MB / 0.6571 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.5704, allocations: 251.7 kB / 0.6574 GB, free: 492 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.5705, allocations: 20 kB / 0.6574 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004855/0.571, allocations: 35.92 kB / 0.6574 GB, free: 436 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.5711, allocations: 51.83 kB / 0.6575 GB, free: 384 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.381e-05/0.5712, allocations: 35.98 kB / 0.6575 GB, free: 348 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001858/0.573, allocations: 1.267 MB / 0.6587 GB, free: 15.08 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.573, allocations: 0 / 0.6587 GB, free: 15.08 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002478/0.5755, allocations: 0.6929 MB / 0.6594 GB, free: 14.39 MB / 478.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.0003143/0.5758, allocations: 143 kB / 0.6596 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003018/0.5788, allocations: 1.959 MB / 0.6615 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.5789, allocations: 0 / 0.6615 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005756/0.5794, allocations: 435.8 kB / 0.6619 GB, free: 11.87 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.5806, allocations: 229.9 kB / 0.6621 GB, free: 11.65 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008752/0.5893, allocations: 5.436 MB / 0.6674 GB, free: 6.086 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002495/0.5918, allocations: 2.282 MB / 0.6696 GB, free: 3.77 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004466/0.5923, allocations: 143.4 kB / 0.6698 GB, free: 3.629 MB / 478.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5923, allocations: 0 / 0.6698 GB, free: 3.629 MB / 478.1 MB Notification: Performance of Templates: time 0.04958/0.6419, allocations: 30.3 MB / 0.6994 GB, free: 5.395 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.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: 10.671907784882933]