Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.002107/0.002107, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002393/0.002393, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.521/1.521, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2348/0.2348, allocations: 46.89 MB / 361.1 MB, free: 4.637 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.CutTorque2,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.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.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2") [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.002405/0.002405, allocations: 91.84 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3421, allocations: 65.99 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01251/0.3547, allocations: 9.594 MB / 0.5706 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007261/0.3619, allocations: 2.958 MB / 0.5735 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.3638, allocations: 47.94 kB / 0.5735 GB, free: 8.383 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004098/0.3679, allocations: 2.033 MB / 0.5755 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002904/0.3708, allocations: 1.125 MB / 0.5766 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007156/0.3715, allocations: 287.4 kB / 0.5769 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003096/0.3746, allocations: 2.329 MB / 0.5791 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/0.3766, allocations: 1.625 MB / 0.5807 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.3777, allocations: 0.8761 MB / 0.5816 GB, free: 52 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/0.3793, allocations: 1.25 MB / 0.5828 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000326/0.3796, allocations: 196 kB / 0.583 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.3809, allocations: 0.7216 MB / 0.5837 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.3819, allocations: 1.145 MB / 0.5848 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.3832, allocations: 1.301 MB / 0.5861 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004771/0.3879, allocations: 4.334 MB / 0.5903 GB, free: 7.074 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.388, allocations: 0 / 0.5903 GB, free: 7.074 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.388, allocations: 4 kB / 0.5903 GB, free: 7.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.911e-05/0.388, allocations: 4 kB / 0.5903 GB, free: 7.066 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.005387/0.3934, allocations: 2.934 MB / 0.5932 GB, free: 4.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.3935, allocations: 12.03 kB / 0.5932 GB, free: 4.059 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005423/0.3989, allocations: 1.578 MB / 0.5947 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00328/0.4022, allocations: 1.336 MB / 0.596 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.4023, allocations: 144 kB / 0.5962 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004613/0.4028, allocations: 187.8 kB / 0.5964 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/0.4142, allocations: 6.25 MB / 0.6025 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.941e-05/0.4142, allocations: 11.88 kB / 0.6025 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002711/0.4145, allocations: 91.89 kB / 0.6026 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002339/0.4168, allocations: 1.344 MB / 0.6039 GB, free: 8.797 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/0.4282, allocations: 5.338 MB / 0.6091 GB, free: 3.434 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03173/0.4599, allocations: 20.07 MB / 0.6287 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004356/0.4643, allocations: 1.94 MB / 0.6306 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009675/0.4652, allocations: 0.6388 MB / 0.6312 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007475/0.4727, allocations: 3.617 MB / 0.6347 GB, free: 8.316 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.4727, allocations: 42.98 kB / 0.6348 GB, free: 8.266 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.775e-06/0.4727, allocations: 4 kB / 0.6348 GB, free: 8.262 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005669/0.4784, allocations: 1.982 MB / 0.6367 GB, free: 6.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.4785, allocations: 59.78 kB / 0.6368 GB, free: 6.199 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002826/0.4813, allocations: 1.946 MB / 0.6387 GB, free: 4.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.494e-05/0.4814, allocations: 41.7 kB / 0.6387 GB, free: 4.203 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001684/0.483, allocations: 1.907 MB / 0.6406 GB, free: 2.273 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003536/0.4834, allocations: 325.6 kB / 0.6409 GB, free: 1.953 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008983/0.4843, allocations: 0.6234 MB / 0.6415 GB, free: 1.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.4845, allocations: 357.9 kB / 0.6418 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.4859, allocations: 0.8842 MB / 0.6427 GB, free: 80 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003043/0.4889, allocations: 2.747 MB / 0.6454 GB, free: 12.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005172/0.4941, allocations: 3.978 MB / 0.6493 GB, free: 7.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.647e-05/0.4941, allocations: 20 kB / 0.6493 GB, free: 7.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006022/0.5002, allocations: 3.535 MB / 0.6527 GB, free: 3.941 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.313e-05/0.5002, allocations: 32 kB / 0.6528 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.539e-05/0.5003, allocations: 68 kB / 0.6528 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000111/0.5004, allocations: 88 kB / 0.6529 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.5023, allocations: 0.6627 MB / 0.6536 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001142/0.5024, allocations: 131.5 kB / 0.6537 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.5042, allocations: 428.9 kB / 0.6541 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002532/0.5045, allocations: 192 kB / 0.6543 GB, free: 2.355 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.002163/0.5066, allocations: 1.338 MB / 0.6556 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/0.507, allocations: 162.9 kB / 0.6557 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004034/0.5074, allocations: 200.9 kB / 0.6559 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/0.5074, allocations: 11.94 kB / 0.6559 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.5074, allocations: 0 / 0.6559 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.5074, allocations: 7.984 kB / 0.656 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00731/0.5147, allocations: 4.021 MB / 0.6599 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.5147, allocations: 8 kB / 0.6599 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/0.5152, allocations: 104.7 kB / 0.66 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.717e-05/0.5152, allocations: 8 kB / 0.66 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/0.5152, allocations: 24 kB / 0.66 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.414e-05/0.5153, allocations: 11.94 kB / 0.66 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.531e-05/0.5153, allocations: 11.94 kB / 0.66 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.517, allocations: 1.267 MB / 0.6613 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004471/0.5175, allocations: 255.8 kB / 0.6615 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.5176, allocations: 16 kB / 0.6615 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/0.5181, allocations: 31.92 kB / 0.6616 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.405e-05/0.5182, allocations: 59.77 kB / 0.6616 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/0.5183, allocations: 31.94 kB / 0.6617 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001867/0.5201, allocations: 1.271 MB / 0.6629 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5201, allocations: 0 / 0.6629 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002629/0.5228, allocations: 0.6891 MB / 0.6636 GB, free: 8.555 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.0003293/0.5231, allocations: 146.9 kB / 0.6637 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003316/0.5264, allocations: 1.96 MB / 0.6656 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/0.5264, allocations: 8 kB / 0.6656 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006003/0.527, allocations: 437 kB / 0.6661 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.5284, allocations: 235.8 kB / 0.6663 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009347/0.5377, allocations: 5.138 MB / 0.6713 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002624/0.5403, allocations: 2.271 MB / 0.6735 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002167/0.5425, allocations: 0.9558 MB / 0.6744 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.5428, allocations: 119.4 kB / 0.6746 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of SimCode: time 1.001e-06/0.5428, allocations: 4 kB / 0.6746 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of Templates: time 0.03571/0.5785, allocations: 15.84 MB / 0.69 GB, free: 13.34 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.833792670164257]