Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001773/0.001773, allocations: 110.5 kB / 21.17 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.002074/0.002074, allocations: 214.7 kB / 24.46 MB, free: 4.195 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.497/1.497, allocations: 230.2 MB / 257.8 MB, free: 8.473 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.2303/0.2303, allocations: 46.89 MB / 361.1 MB, free: 4.695 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.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques") [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.002353/0.002353, allocations: 79.86 kB / 0.4968 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3243, allocations: 65.99 MB / 0.5612 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01672/0.341, allocations: 12.75 MB / 0.5737 GB, free: 8.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.3512, allocations: 4.544 MB / 0.5781 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002483/0.3537, allocations: 87.75 kB / 0.5782 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007872/0.3615, allocations: 3.765 MB / 0.5819 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006231/0.3678, allocations: 2.241 MB / 0.5841 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.3702, allocations: 0.9982 MB / 0.585 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009069/0.3793, allocations: 6.058 MB / 0.5909 GB, free: 6.434 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005261/0.3846, allocations: 3.253 MB / 0.5941 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003443/0.388, allocations: 1.959 MB / 0.596 GB, free: 1.145 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004941/0.393, allocations: 2.827 MB / 0.5988 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001448/0.3944, allocations: 411.9 kB / 0.5992 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003479/0.3979, allocations: 1.486 MB / 0.6006 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003569/0.4015, allocations: 2.489 MB / 0.6031 GB, free: 9.922 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004767/0.4062, allocations: 2.703 MB / 0.6057 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.4191, allocations: 8.657 MB / 0.6142 GB, free: 14.51 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4191, allocations: 0 / 0.6142 GB, free: 14.51 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4191, allocations: 0 / 0.6142 GB, free: 14.51 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003213/0.4195, allocations: 3.984 kB / 0.6142 GB, free: 14.5 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.01687/0.4363, allocations: 6.167 MB / 0.6202 GB, free: 8.254 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.4364, allocations: 16.03 kB / 0.6202 GB, free: 8.238 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01295/0.4493, allocations: 2.575 MB / 0.6227 GB, free: 5.656 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/0.4597, allocations: 3.756 MB / 0.6264 GB, free: 1.848 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/0.46, allocations: 275.5 kB / 0.6266 GB, free: 1.578 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00136/0.4613, allocations: 375.7 kB / 0.627 GB, free: 1.211 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02334/0.4847, allocations: 11.62 MB / 0.6384 GB, free: 4.742 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001999/0.4849, allocations: 63.52 kB / 0.6384 GB, free: 4.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008977/0.4857, allocations: 179.8 kB / 0.6386 GB, free: 4.504 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004011/0.4898, allocations: 2.147 MB / 0.6407 GB, free: 2.355 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02199/0.5117, allocations: 9.621 MB / 0.6501 GB, free: 8.715 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06883/0.5806, allocations: 45.87 MB / 0.6949 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/0.5919, allocations: 3.781 MB / 0.6986 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003234/0.5951, allocations: 1.99 MB / 0.7005 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0129/0.608, allocations: 5.884 MB / 0.7063 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.096e-05/0.6081, allocations: 56.03 kB / 0.7063 GB, free: 13.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 5.04e-06/0.6081, allocations: 0 / 0.7063 GB, free: 13.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.05222/0.6603, allocations: 17.68 MB / 0.7236 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001922/0.6605, allocations: 230.1 kB / 0.7238 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009137/0.6697, allocations: 5.628 MB / 0.7293 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004273/0.6701, allocations: 49.69 kB / 0.7293 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003311/0.6734, allocations: 3.849 MB / 0.7331 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001101/0.6745, allocations: 0.6864 MB / 0.7338 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2986/0.9731, allocations: 1.418 MB / 0.7352 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.698e-05/0.9732, allocations: 305.4 kB / 0.7354 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004051/0.9772, allocations: 2.294 MB / 0.7377 GB, free: 154 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004211/0.9814, allocations: 6.555 MB / 0.7441 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007279/0.9887, allocations: 9.51 MB / 0.7534 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.409e-05/0.9888, allocations: 45.5 kB / 0.7534 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01388/1.003, allocations: 9.591 MB / 0.7628 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.756e-05/1.003, allocations: 68 kB / 0.7628 GB, free: 135 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/1.003, allocations: 148 kB / 0.763 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002727/1.006, allocations: 1.234 MB / 0.7642 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004366/1.01, allocations: 1.56 MB / 0.7657 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009163/1.019, allocations: 8.471 MB / 0.774 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008458/1.028, allocations: 369.6 kB / 0.7743 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001258/1.029, allocations: 423.9 kB / 0.7747 GB, free: 124.2 MB / 0.5606 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.005031/1.034, allocations: 2.462 MB / 0.7771 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/1.035, allocations: 474.7 kB / 0.7776 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008267/1.043, allocations: 3.38 MB / 0.7809 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.848e-05/1.043, allocations: 16 kB / 0.7809 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/1.043, allocations: 11.98 kB / 0.7809 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-05/1.043, allocations: 3.984 kB / 0.7809 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02292/1.066, allocations: 8.186 MB / 0.7889 GB, free: 110 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.927e-05/1.066, allocations: 4 kB / 0.7889 GB, free: 110 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00229/1.069, allocations: 251.6 kB / 0.7892 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004806/1.073, allocations: 1.014 MB / 0.7902 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002942/1.074, allocations: 28 kB / 0.7902 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01316/1.087, allocations: 7.809 MB / 0.7978 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.087, allocations: 4 kB / 0.7978 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/1.101, allocations: 5.873 MB / 0.8036 GB, free: 94.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001912/1.103, allocations: 0.5499 MB / 0.8041 GB, free: 94.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000936/1.104, allocations: 28 kB / 0.8041 GB, free: 94.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002934/1.107, allocations: 91.88 kB / 0.8042 GB, free: 94.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003888/1.107, allocations: 96.75 kB / 0.8043 GB, free: 94.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001816/1.107, allocations: 44 kB / 0.8043 GB, free: 94.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005394/1.113, allocations: 3.588 MB / 0.8078 GB, free: 90.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.113, allocations: 4 kB / 0.8078 GB, free: 90.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005009/1.118, allocations: 1.152 MB / 0.809 GB, free: 89.32 MB / 0.5606 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.0003565/1.118, allocations: 154.4 kB / 0.8091 GB, free: 89.17 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006556/1.124, allocations: 5.335 MB / 0.8143 GB, free: 83.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.124, allocations: 3.281 kB / 0.8143 GB, free: 83.85 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/1.126, allocations: 1.535 MB / 0.8158 GB, free: 82.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003197/1.129, allocations: 0.5871 MB / 0.8164 GB, free: 81.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/1.143, allocations: 11.02 MB / 0.8272 GB, free: 70.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003077/1.146, allocations: 3.77 MB / 0.8308 GB, free: 66.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003779/1.15, allocations: 2.108 MB / 0.8329 GB, free: 64.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006387/1.151, allocations: 291.4 kB / 0.8332 GB, free: 64.43 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/1.151, allocations: 0 / 0.8332 GB, free: 64.43 MB / 0.5606 GB Notification: Performance of Templates: time 0.06648/1.217, allocations: 42.82 MB / 0.875 GB, free: 21.87 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.354195241816342]