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.001479/0.001479, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001672/0.001672, allocations: 217 kB / 24.5 MB, free: 4.133 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.329/1.329, allocations: 230.5 MB / 258.1 MB, free: 8.031 MB / 206.1 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.2289/0.2289, allocations: 46.93 MB / 361.5 MB, free: 4.191 MB / 286.1 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 0.00241/0.00241, allocations: 83.84 kB / 0.4974 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2961, allocations: 66.07 MB / 0.562 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01079/0.3069, allocations: 9.595 MB / 0.5713 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005756/0.3127, allocations: 2.954 MB / 0.5742 GB, free: 7.648 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009706/0.3136, allocations: 55.81 kB / 0.5743 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003522/0.3171, allocations: 2.029 MB / 0.5762 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002495/0.3196, allocations: 1.144 MB / 0.5774 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006404/0.3203, allocations: 287.4 kB / 0.5776 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002952/0.3232, allocations: 2.332 MB / 0.5799 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.3251, allocations: 1.738 MB / 0.5816 GB, free: 12 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.3262, allocations: 0.8878 MB / 0.5825 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.3277, allocations: 1.254 MB / 0.5837 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.3279, allocations: 196 kB / 0.5839 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.3291, allocations: 0.7216 MB / 0.5846 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009744/0.33, allocations: 1.145 MB / 0.5857 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.3312, allocations: 1.308 MB / 0.587 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004358/0.3356, allocations: 4.33 MB / 0.5912 GB, free: 6.137 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3356, allocations: 0 / 0.5912 GB, free: 6.137 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3356, allocations: 0 / 0.5912 GB, free: 6.137 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.903e-05/0.3356, allocations: 0 / 0.5912 GB, free: 6.137 MB / 430.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.004328/0.34, allocations: 2.866 MB / 0.594 GB, free: 3.227 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.34, allocations: 12.03 kB / 0.594 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004629/0.3446, allocations: 1.578 MB / 0.5956 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/0.3471, allocations: 1.279 MB / 0.5968 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.3472, allocations: 144 kB / 0.597 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000301/0.3475, allocations: 187.8 kB / 0.5971 GB, free: 0 / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008824/0.3563, allocations: 6.242 MB / 0.6032 GB, free: 9.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.594e-05/0.3563, allocations: 11.88 kB / 0.6032 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002229/0.3566, allocations: 95.89 kB / 0.6033 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001927/0.3585, allocations: 1.34 MB / 0.6046 GB, free: 8.031 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009114/0.3676, allocations: 5.342 MB / 0.6099 GB, free: 2.676 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02803/0.3956, allocations: 19.98 MB / 0.6294 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003861/0.3995, allocations: 1.496 MB / 0.6308 GB, free: 12.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.4005, allocations: 0.635 MB / 0.6315 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006778/0.4073, allocations: 3.168 MB / 0.6345 GB, free: 8.766 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.4073, allocations: 39 kB / 0.6346 GB, free: 8.719 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.055e-06/0.4073, allocations: 0 / 0.6346 GB, free: 8.719 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005321/0.4127, allocations: 1.986 MB / 0.6365 GB, free: 6.723 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.4127, allocations: 63.72 kB / 0.6366 GB, free: 6.648 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003048/0.4158, allocations: 1.938 MB / 0.6385 GB, free: 4.707 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/0.4158, allocations: 33.7 kB / 0.6385 GB, free: 4.668 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001457/0.4173, allocations: 1.911 MB / 0.6404 GB, free: 2.734 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003192/0.4176, allocations: 325.5 kB / 0.6407 GB, free: 2.414 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000834/0.4184, allocations: 0.6234 MB / 0.6413 GB, free: 1.781 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.4186, allocations: 353.9 kB / 0.6416 GB, free: 1.43 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.4199, allocations: 0.8919 MB / 0.6425 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00278/0.4227, allocations: 2.755 MB / 0.6452 GB, free: 12.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004541/0.4272, allocations: 3.968 MB / 0.6491 GB, free: 7.957 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.988e-05/0.4273, allocations: 20 kB / 0.6491 GB, free: 7.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005579/0.4328, allocations: 3.527 MB / 0.6525 GB, free: 4.398 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.028e-05/0.4329, allocations: 32 kB / 0.6526 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.515e-05/0.433, allocations: 68 kB / 0.6526 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001089/0.4331, allocations: 84 kB / 0.6527 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.4349, allocations: 0.6633 MB / 0.6534 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001109/0.435, allocations: 123.5 kB / 0.6535 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.4368, allocations: 436.7 kB / 0.6539 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/0.437, allocations: 188 kB / 0.6541 GB, free: 2.824 MB / 494.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.001862/0.4389, allocations: 1.347 MB / 0.6554 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/0.4391, allocations: 162.9 kB / 0.6555 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.4395, allocations: 196.9 kB / 0.6557 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/0.4395, allocations: 11.94 kB / 0.6557 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.4395, allocations: 3.984 kB / 0.6557 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4395, allocations: 0 / 0.6557 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006912/0.4465, allocations: 4.005 MB / 0.6597 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.4465, allocations: 8.062 kB / 0.6597 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.4469, allocations: 107.8 kB / 0.6598 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/0.4469, allocations: 8 kB / 0.6598 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.4469, allocations: 16 kB / 0.6598 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.278e-05/0.4469, allocations: 11.94 kB / 0.6598 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.4469, allocations: 11.94 kB / 0.6598 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.4485, allocations: 1.27 MB / 0.6611 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.4488, allocations: 178.7 kB / 0.6612 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/0.4491, allocations: 24 kB / 0.6612 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004939/0.4496, allocations: 27.94 kB / 0.6613 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.69e-05/0.4497, allocations: 55.78 kB / 0.6613 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/0.4497, allocations: 32 kB / 0.6614 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001782/0.4515, allocations: 1.279 MB / 0.6626 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4515, allocations: 3.938 kB / 0.6626 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002349/0.4539, allocations: 0.6813 MB / 0.6633 GB, free: 9.145 MB / 0.4981 GB 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.0003412/0.4542, allocations: 146.8 kB / 0.6634 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002977/0.4572, allocations: 1.952 MB / 0.6653 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.4572, allocations: 0.5 kB / 0.6653 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005552/0.4577, allocations: 443.9 kB / 0.6657 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.4589, allocations: 244.4 kB / 0.666 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008828/0.4677, allocations: 5.432 MB / 0.6713 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002708/0.4704, allocations: 2.283 MB / 0.6735 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003829/0.4708, allocations: 143.4 kB / 0.6736 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of SimCode: time 9.02e-07/0.4708, allocations: 0 / 0.6736 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of Templates: time 0.0447/0.5155, allocations: 30.29 MB / 0.7032 GB, free: 128 kB / 0.5294 GB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/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: 9.055466604884714]