Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 69.33 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 163.3 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.216/0.216, allocations: 34.27 MB / 295.5 MB, free: 14.55 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 71.89 kB / 443.2 MB, free: 6.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3536, allocations: 66 MB / 0.4972 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01101/0.3646, allocations: 8.419 MB / 0.5054 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006393/0.371, allocations: 2.787 MB / 0.5082 GB, free: 22.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.3723, allocations: 57.72 kB / 0.5082 GB, free: 22.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004298/0.3766, allocations: 1.932 MB / 0.5101 GB, free: 21.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003008/0.3796, allocations: 1.136 MB / 0.5112 GB, free: 21.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008198/0.3805, allocations: 293.1 kB / 0.5115 GB, free: 21.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003393/0.3839, allocations: 2.32 MB / 0.5138 GB, free: 20.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002378/0.3862, allocations: 1.737 MB / 0.5155 GB, free: 19.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009933/0.3872, allocations: 0.8874 MB / 0.5163 GB, free: 19.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.3887, allocations: 1.177 MB / 0.5175 GB, free: 18.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003158/0.389, allocations: 193.6 kB / 0.5177 GB, free: 18.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.39, allocations: 0.6098 MB / 0.5183 GB, free: 18.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009049/0.391, allocations: 1.133 MB / 0.5194 GB, free: 18.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009249/0.3919, allocations: 0.9461 MB / 0.5203 GB, free: 17.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004844/0.3967, allocations: 4.347 MB / 0.5245 GB, free: 15.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.3967, allocations: 0.9375 kB / 0.5245 GB, free: 15.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.3967, allocations: 0 / 0.5245 GB, free: 15.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001431/0.3969, allocations: 0 / 0.5245 GB, free: 15.94 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.006258/0.4031, allocations: 2.868 MB / 0.5273 GB, free: 14.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.4032, allocations: 9.438 kB / 0.5273 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005475/0.4086, allocations: 1.594 MB / 0.5289 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003015/0.4117, allocations: 1.283 MB / 0.5301 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.4118, allocations: 142.9 kB / 0.5303 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004248/0.4122, allocations: 188.7 kB / 0.5305 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/0.4226, allocations: 6.267 MB / 0.5366 GB, free: 9.875 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.433e-05/0.4226, allocations: 12.88 kB / 0.5366 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002748/0.4229, allocations: 88.91 kB / 0.5367 GB, free: 9.805 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003025/0.4259, allocations: 1.339 MB / 0.538 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01604/0.442, allocations: 5.339 MB / 0.5432 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02904/0.471, allocations: 18.39 MB / 0.5612 GB, free: 3.262 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004203/0.4752, allocations: 1.575 MB / 0.5627 GB, free: 1.672 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.4762, allocations: 0.6409 MB / 0.5633 GB, free: 1.02 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006947/0.4832, allocations: 3.112 MB / 0.5664 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.4832, allocations: 39.06 kB / 0.5664 GB, free: 13.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.965e-06/0.4832, allocations: 0 / 0.5664 GB, free: 13.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005793/0.489, allocations: 2.108 MB / 0.5685 GB, free: 11.72 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.4891, allocations: 59.91 kB / 0.5685 GB, free: 11.65 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003445/0.4925, allocations: 1.931 MB / 0.5704 GB, free: 9.707 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.578e-05/0.4926, allocations: 37.69 kB / 0.5704 GB, free: 9.664 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001403/0.494, allocations: 1.923 MB / 0.5723 GB, free: 7.719 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/0.4943, allocations: 333.5 kB / 0.5726 GB, free: 7.391 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008707/0.4952, allocations: 0.6195 MB / 0.5732 GB, free: 6.762 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.4954, allocations: 349.9 kB / 0.5736 GB, free: 6.414 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.4968, allocations: 0.8881 MB / 0.5744 GB, free: 5.523 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002996/0.4998, allocations: 2.751 MB / 0.5771 GB, free: 1.84 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005438/0.5052, allocations: 3.966 MB / 0.581 GB, free: 12.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.382e-05/0.5053, allocations: 20 kB / 0.581 GB, free: 12.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006148/0.5114, allocations: 3.52 MB / 0.5845 GB, free: 9.395 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.682e-05/0.5115, allocations: 36 kB / 0.5845 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.165e-05/0.5115, allocations: 64 kB / 0.5846 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001101/0.5116, allocations: 91.98 kB / 0.5846 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.5135, allocations: 0.6517 MB / 0.5853 GB, free: 8.555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001198/0.5136, allocations: 131.5 kB / 0.5854 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.5155, allocations: 420.9 kB / 0.5858 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/0.5158, allocations: 188 kB / 0.586 GB, free: 7.828 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.002293/0.5181, allocations: 1.343 MB / 0.5873 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/0.5183, allocations: 158.9 kB / 0.5874 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003601/0.5187, allocations: 188 kB / 0.5876 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.5187, allocations: 12 kB / 0.5876 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.5187, allocations: 7.938 kB / 0.5876 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.5187, allocations: 3.984 kB / 0.5876 GB, free: 6.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005466/0.5242, allocations: 3.09 MB / 0.5907 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.5242, allocations: 4 kB / 0.5907 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/0.5246, allocations: 103.8 kB / 0.5908 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/0.5246, allocations: 16.69 kB / 0.5908 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.5247, allocations: 20 kB / 0.5908 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.5247, allocations: 12 kB / 0.5908 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/0.5247, allocations: 11.94 kB / 0.5908 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.5263, allocations: 1.242 MB / 0.592 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.5266, allocations: 158.8 kB / 0.5922 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.5268, allocations: 19.92 kB / 0.5922 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.5272, allocations: 35.91 kB / 0.5922 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.844e-05/0.5273, allocations: 51.81 kB / 0.5923 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.083e-05/0.5274, allocations: 39.98 kB / 0.5923 GB, free: 1.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001634/0.529, allocations: 1.106 MB / 0.5934 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.529, allocations: 0 / 0.5934 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002789/0.5318, allocations: 0.7045 MB / 0.5941 GB, free: 15.28 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.0003439/0.5321, allocations: 146.9 kB / 0.5942 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003063/0.5352, allocations: 1.961 MB / 0.5962 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.5352, allocations: 4 kB / 0.5962 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005947/0.5358, allocations: 436 kB / 0.5966 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.5369, allocations: 192.8 kB / 0.5968 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009144/0.546, allocations: 5.099 MB / 0.6017 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002473/0.5485, allocations: 1.708 MB / 0.6034 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002184/0.5507, allocations: 0.9429 MB / 0.6043 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.5509, allocations: 116.5 kB / 0.6044 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of SimCode: time 9.72e-07/0.5509, allocations: 0 / 0.6044 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of Templates: time 0.02853/0.5795, allocations: 11.58 MB / 0.6157 GB, free: 9.145 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.475328105036169]