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.001974/0.001974, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002229/0.002229, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.468/1.468, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2314/0.2314, allocations: 46.88 MB / 361.1 MB, free: 4.629 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.002289/0.002289, allocations: 75.88 kB / 0.4967 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3305, allocations: 65.98 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01251/0.343, allocations: 9.594 MB / 0.5706 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006203/0.3492, allocations: 2.97 MB / 0.5735 GB, free: 8.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009317/0.3501, allocations: 47.94 kB / 0.5735 GB, free: 8.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003801/0.3539, allocations: 2.025 MB / 0.5755 GB, free: 6.309 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002596/0.3565, allocations: 1.125 MB / 0.5766 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007014/0.3572, allocations: 291.4 kB / 0.5769 GB, free: 4.895 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003362/0.3606, allocations: 2.333 MB / 0.5791 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001964/0.3626, allocations: 1.614 MB / 0.5807 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.3637, allocations: 0.8839 MB / 0.5816 GB, free: 16 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001575/0.3653, allocations: 1.254 MB / 0.5828 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002888/0.3656, allocations: 192 kB / 0.583 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.3668, allocations: 0.7215 MB / 0.5837 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.3678, allocations: 1.141 MB / 0.5848 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.369, allocations: 1.308 MB / 0.5861 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004779/0.3738, allocations: 4.334 MB / 0.5903 GB, free: 7.035 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3738, allocations: 0 / 0.5903 GB, free: 7.035 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3738, allocations: 0 / 0.5903 GB, free: 7.035 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.945e-05/0.3739, allocations: 0 / 0.5903 GB, free: 7.035 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.005189/0.3791, allocations: 2.942 MB / 0.5932 GB, free: 4.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.3791, allocations: 8.031 kB / 0.5932 GB, free: 4.023 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0054/0.3845, allocations: 1.574 MB / 0.5947 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.3876, allocations: 1.332 MB / 0.596 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.3877, allocations: 144 kB / 0.5962 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003487/0.388, allocations: 199.8 kB / 0.5964 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01057/0.3986, allocations: 6.242 MB / 0.6025 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-05/0.3987, allocations: 19.88 kB / 0.6025 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002835/0.3989, allocations: 83.91 kB / 0.6025 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002302/0.4012, allocations: 1.344 MB / 0.6039 GB, free: 8.766 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/0.4115, allocations: 5.34 MB / 0.6091 GB, free: 3.402 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02878/0.4402, allocations: 20.08 MB / 0.6287 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004455/0.4447, allocations: 1.94 MB / 0.6306 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009805/0.4457, allocations: 0.6484 MB / 0.6312 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007323/0.453, allocations: 3.609 MB / 0.6347 GB, free: 8.277 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.453, allocations: 39 kB / 0.6348 GB, free: 8.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.616e-06/0.453, allocations: 0 / 0.6348 GB, free: 8.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.00561/0.4586, allocations: 1.99 MB / 0.6367 GB, free: 6.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.4587, allocations: 67.72 kB / 0.6368 GB, free: 6.152 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/0.4616, allocations: 1.942 MB / 0.6387 GB, free: 4.207 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.699e-05/0.4616, allocations: 29.7 kB / 0.6387 GB, free: 4.172 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001473/0.4631, allocations: 1.915 MB / 0.6406 GB, free: 2.234 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/0.4635, allocations: 321.6 kB / 0.6409 GB, free: 1.918 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/0.4645, allocations: 0.6234 MB / 0.6415 GB, free: 1.285 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002225/0.4647, allocations: 361.9 kB / 0.6418 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.466, allocations: 0.8842 MB / 0.6427 GB, free: 40 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003036/0.4691, allocations: 2.747 MB / 0.6454 GB, free: 12.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004887/0.474, allocations: 3.973 MB / 0.6493 GB, free: 7.469 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.71e-05/0.474, allocations: 20 kB / 0.6493 GB, free: 7.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00592/0.4799, allocations: 3.527 MB / 0.6527 GB, free: 3.914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/0.48, allocations: 36 kB / 0.6528 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.04e-05/0.48, allocations: 64 kB / 0.6528 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001131/0.4801, allocations: 88.78 kB / 0.6529 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/0.482, allocations: 0.6588 MB / 0.6536 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001187/0.4821, allocations: 135.5 kB / 0.6537 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.484, allocations: 436.7 kB / 0.6541 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002505/0.4842, allocations: 184 kB / 0.6543 GB, free: 2.328 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.002024/0.4862, allocations: 1.346 MB / 0.6556 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.4864, allocations: 174.8 kB / 0.6558 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.4868, allocations: 188.9 kB / 0.6559 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.4868, allocations: 15.94 kB / 0.6559 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4868, allocations: 0 / 0.6559 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4868, allocations: 3.984 kB / 0.656 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006747/0.4936, allocations: 4.025 MB / 0.6599 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.4936, allocations: 8 kB / 0.6599 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.494, allocations: 99.81 kB / 0.66 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/0.494, allocations: 12 kB / 0.66 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/0.494, allocations: 16 kB / 0.66 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.669e-05/0.4941, allocations: 23.91 kB / 0.66 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/0.4941, allocations: 11.94 kB / 0.66 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.4957, allocations: 1.267 MB / 0.6613 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00039/0.4961, allocations: 251.8 kB / 0.6615 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.4962, allocations: 23.98 kB / 0.6615 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/0.4967, allocations: 27.94 kB / 0.6616 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.4968, allocations: 59.75 kB / 0.6616 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/0.4969, allocations: 35.98 kB / 0.6617 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001782/0.4986, allocations: 1.263 MB / 0.6629 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4986, allocations: 0 / 0.6629 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002541/0.5012, allocations: 0.6891 MB / 0.6636 GB, free: 8.516 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.0003101/0.5015, allocations: 146.9 kB / 0.6637 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003169/0.5047, allocations: 1.957 MB / 0.6656 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/0.5047, allocations: 8.062 kB / 0.6656 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005882/0.5053, allocations: 437.5 kB / 0.666 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.5065, allocations: 240.1 kB / 0.6663 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008552/0.5151, allocations: 5.133 MB / 0.6713 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002693/0.5178, allocations: 2.271 MB / 0.6735 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002253/0.52, allocations: 0.9558 MB / 0.6744 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.5203, allocations: 123.4 kB / 0.6746 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/0.5203, allocations: 0 / 0.6746 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of Templates: time 0.03335/0.5537, allocations: 15.84 MB / 0.69 GB, free: 13.3 MB / 0.5294 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 -s gbode -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: 5.585824156180024]