Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.001591/0.001591, allocations: 117 kB / 18.46 MB, free: 4.613 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.001676/0.001677, allocations: 205.8 kB / 21.4 MB, free: 1.668 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.522/1.522, allocations: 227.4 MB / 251.6 MB, free: 84 kB / 190.1 MB " [Timeout remaining time 178] 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.2452/0.2452, allocations: 46.16 MB / 351.1 MB, free: 14.29 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.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003133/0.003133, allocations: 90.66 kB / 490.2 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1544, allocations: 62.44 MB / 0.5397 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01548/0.1699, allocations: 12.67 MB / 0.5521 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.1801, allocations: 4.493 MB / 0.5564 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002377/0.1825, allocations: 87.69 kB / 0.5565 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006986/0.1895, allocations: 3.719 MB / 0.5602 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00564/0.1952, allocations: 2.183 MB / 0.5623 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.1975, allocations: 0.9865 MB / 0.5633 GB, free: 12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008901/0.2064, allocations: 6.051 MB / 0.5692 GB, free: 5.938 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005962/0.2124, allocations: 4.565 MB / 0.5736 GB, free: 1.301 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003615/0.216, allocations: 1.955 MB / 0.5755 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004099/0.2201, allocations: 2.613 MB / 0.5781 GB, free: 12.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.2212, allocations: 408 kB / 0.5785 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00301/0.2242, allocations: 1.432 MB / 0.5799 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002879/0.2271, allocations: 2.427 MB / 0.5822 GB, free: 8.453 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004091/0.2312, allocations: 2.707 MB / 0.5849 GB, free: 5.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01532/0.2465, allocations: 8.654 MB / 0.5933 GB, free: 13.04 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.2466, allocations: 0 / 0.5933 GB, free: 13.04 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.2466, allocations: 4 kB / 0.5933 GB, free: 13.04 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002337/0.2468, allocations: 0 / 0.5933 GB, free: 13.04 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01966/0.2665, allocations: 6.171 MB / 0.5994 GB, free: 6.785 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.2666, allocations: 12.03 kB / 0.5994 GB, free: 6.773 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01688/0.2835, allocations: 2.575 MB / 0.6019 GB, free: 4.191 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01026/0.2938, allocations: 3.763 MB / 0.6056 GB, free: 384 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003067/0.2941, allocations: 279.5 kB / 0.6058 GB, free: 104 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3124/0.6066, allocations: 374.1 kB / 0.6062 GB, free: 55.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02485/0.6315, allocations: 11.6 MB / 0.6175 GB, free: 50.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001757/0.6317, allocations: 63.25 kB / 0.6176 GB, free: 50.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004607/0.6321, allocations: 176.7 kB / 0.6178 GB, free: 50.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004025/0.6362, allocations: 2.142 MB / 0.6198 GB, free: 50.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02232/0.6585, allocations: 9.633 MB / 0.6293 GB, free: 47.04 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04607/0.7046, allocations: 45.85 MB / 0.674 GB, free: 3.168 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009093/0.7138, allocations: 3.913 MB / 0.6779 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003047/0.7169, allocations: 2.135 MB / 0.6799 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/0.7273, allocations: 5.884 MB / 0.6857 GB, free: 7.121 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.842e-05/0.7274, allocations: 55.3 kB / 0.6857 GB, free: 7.062 MB / 478.1 MB Notification: Performance of pre-optimization done (n=150): time 4.739e-06/0.7274, allocations: 0 / 0.6857 GB, free: 7.062 MB / 478.1 MB Notification: Performance of matching and sorting (n=162): time 0.04583/0.7733, allocations: 17.7 MB / 0.703 GB, free: 5.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/0.7734, allocations: 222.2 kB / 0.7032 GB, free: 5.145 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009293/0.7828, allocations: 5.63 MB / 0.7087 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005015/0.7833, allocations: 45.7 kB / 0.7088 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00396/0.7873, allocations: 3.865 MB / 0.7126 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001361/0.7886, allocations: 0.6786 MB / 0.7132 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00232/0.791, allocations: 1.428 MB / 0.7146 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.7911, allocations: 304.9 kB / 0.7149 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003574/0.7947, allocations: 2.289 MB / 0.7171 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007569/0.8023, allocations: 6.551 MB / 0.7235 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/0.8149, allocations: 9.517 MB / 0.7328 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001316/0.815, allocations: 44 kB / 0.7329 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.02026/0.8353, allocations: 9.608 MB / 0.7423 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.8355, allocations: 72 kB / 0.7423 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002007/0.8357, allocations: 148 kB / 0.7425 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003391/0.8391, allocations: 1.225 MB / 0.7437 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005322/0.8444, allocations: 1.563 MB / 0.7452 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/0.856, allocations: 8.46 MB / 0.7534 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006125/0.8621, allocations: 367.7 kB / 0.7538 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00183/0.864, allocations: 427.9 kB / 0.7542 GB, free: 12.46 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (836): * Single equations (assignments): 829 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006039/0.87, allocations: 2.472 MB / 0.7566 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/0.8714, allocations: 476.8 kB / 0.7571 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006987/0.8784, allocations: 3.388 MB / 0.7604 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.095e-05/0.8785, allocations: 23.94 kB / 0.7604 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.8786, allocations: 4.656 kB / 0.7604 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/0.8786, allocations: 11.97 kB / 0.7604 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/0.8946, allocations: 8.191 MB / 0.7684 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.8947, allocations: 4 kB / 0.7684 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.8959, allocations: 259.6 kB / 0.7687 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002818/0.8987, allocations: 1.008 MB / 0.7697 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/0.8989, allocations: 32 kB / 0.7697 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009875/0.9088, allocations: 7.798 MB / 0.7773 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.9088, allocations: 4 kB / 0.7773 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009883/0.9187, allocations: 5.871 MB / 0.783 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002211/0.921, allocations: 0.5524 MB / 0.7836 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005449/0.9215, allocations: 31.92 kB / 0.7836 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.923, allocations: 91.89 kB / 0.7837 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002813/0.9233, allocations: 88.88 kB / 0.7838 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.9234, allocations: 51.92 kB / 0.7838 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006164/0.9296, allocations: 3.592 MB / 0.7873 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9297, allocations: 8 kB / 0.7873 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007404/0.9371, allocations: 1.148 MB / 0.7885 GB, free: 8.895 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * 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 (120): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006022/0.9377, allocations: 157.8 kB / 0.7886 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009869/0.9476, allocations: 5.565 MB / 0.7941 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.9476, allocations: 5.938 kB / 0.7941 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002557/0.9502, allocations: 1.62 MB / 0.7956 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003693/0.9539, allocations: 0.5899 MB / 0.7962 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01903/0.973, allocations: 10.93 MB / 0.8069 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005231/0.9782, allocations: 3.772 MB / 0.8106 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004926/0.9832, allocations: 2.108 MB / 0.8126 GB, free: 20 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009158/0.9841, allocations: 287.4 kB / 0.8129 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.9841, allocations: 0 / 0.8129 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of Templates: time 0.3759/1.36, allocations: 40.64 MB / 0.8526 GB, free: 204.8 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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: 7.580238706432283]