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.001473/0.001473, 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.00159/0.00159, 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.487/1.487, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2386/0.2386, allocations: 46.88 MB / 361.1 MB, free: 4.664 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.0024/0.0024, allocations: 75.88 kB / 0.4968 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3731, allocations: 65.99 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01533/0.3884, allocations: 12.76 MB / 0.5737 GB, free: 8.234 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.3991, allocations: 4.544 MB / 0.5781 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003041/0.4021, allocations: 83.75 kB / 0.5782 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008288/0.4104, allocations: 3.769 MB / 0.5819 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00705/0.4175, allocations: 2.241 MB / 0.5841 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002756/0.4202, allocations: 1.006 MB / 0.585 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0103/0.4305, allocations: 6.046 MB / 0.5909 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005004/0.4355, allocations: 3.257 MB / 0.5941 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003829/0.4394, allocations: 1.955 MB / 0.596 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005104/0.4445, allocations: 2.827 MB / 0.5988 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001368/0.4458, allocations: 408 kB / 0.5992 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003151/0.449, allocations: 1.486 MB / 0.6006 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002941/0.4519, allocations: 2.489 MB / 0.6031 GB, free: 9.984 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004221/0.4562, allocations: 2.707 MB / 0.6057 GB, free: 7.262 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.4701, allocations: 8.661 MB / 0.6142 GB, free: 14.56 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.4701, allocations: 0 / 0.6142 GB, free: 14.56 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.4701, allocations: 0 / 0.6142 GB, free: 14.56 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003636/0.4705, allocations: 0 / 0.6142 GB, free: 14.56 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.02009/0.4906, allocations: 6.167 MB / 0.6202 GB, free: 8.312 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.4906, allocations: 8.031 kB / 0.6202 GB, free: 8.305 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/0.5033, allocations: 2.575 MB / 0.6227 GB, free: 5.723 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01128/0.5146, allocations: 3.763 MB / 0.6264 GB, free: 1.906 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003169/0.5149, allocations: 287.5 kB / 0.6267 GB, free: 1.625 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001684/0.5166, allocations: 379.7 kB / 0.627 GB, free: 1.254 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02372/0.5403, allocations: 11.61 MB / 0.6384 GB, free: 4.797 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002043/0.5405, allocations: 55.53 kB / 0.6384 GB, free: 4.742 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005796/0.5411, allocations: 183.8 kB / 0.6386 GB, free: 4.562 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00388/0.545, allocations: 2.139 MB / 0.6407 GB, free: 2.422 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02123/0.5662, allocations: 9.629 MB / 0.6501 GB, free: 8.773 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0657/0.6319, allocations: 45.86 MB / 0.6949 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.6427, allocations: 3.788 MB / 0.6986 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002966/0.6457, allocations: 1.994 MB / 0.7005 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0116/0.6573, allocations: 5.891 MB / 0.7063 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.6574, allocations: 52.11 kB / 0.7063 GB, free: 13.64 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 5.149e-06/0.6574, allocations: 0 / 0.7063 GB, free: 13.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.0481/0.7055, allocations: 17.68 MB / 0.7236 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/0.7056, allocations: 226.2 kB / 0.7238 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00918/0.7148, allocations: 5.632 MB / 0.7293 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004699/0.7153, allocations: 45.98 kB / 0.7293 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003916/0.7192, allocations: 3.853 MB / 0.7331 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001082/0.7203, allocations: 0.6825 MB / 0.7338 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3063/1.027, allocations: 1.419 MB / 0.7352 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.937e-05/1.027, allocations: 305.9 kB / 0.7354 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004411/1.031, allocations: 2.294 MB / 0.7377 GB, free: 154 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004795/1.036, allocations: 6.555 MB / 0.7441 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007409/1.043, allocations: 9.512 MB / 0.7534 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.138e-05/1.043, allocations: 42.72 kB / 0.7534 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01594/1.059, allocations: 9.592 MB / 0.7628 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.407e-05/1.059, allocations: 74.66 kB / 0.7629 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000157/1.06, allocations: 148 kB / 0.763 GB, free: 135 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002816/1.062, allocations: 1.237 MB / 0.7642 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004666/1.067, allocations: 1.553 MB / 0.7657 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008296/1.075, allocations: 8.468 MB / 0.774 GB, free: 125 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005629/1.081, allocations: 360.3 kB / 0.7743 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/1.082, allocations: 431.9 kB / 0.7747 GB, free: 124.3 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.003324/1.085, allocations: 2.461 MB / 0.7771 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008079/1.086, allocations: 479.9 kB / 0.7776 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005204/1.091, allocations: 3.374 MB / 0.7809 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.047e-05/1.091, allocations: 20 kB / 0.7809 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/1.091, allocations: 4 kB / 0.7809 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/1.091, allocations: 15.97 kB / 0.7809 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/1.105, allocations: 8.184 MB / 0.7889 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/1.105, allocations: 4 kB / 0.7889 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/1.106, allocations: 255.6 kB / 0.7892 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002508/1.109, allocations: 1 MB / 0.7902 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001484/1.109, allocations: 31.42 kB / 0.7902 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007741/1.117, allocations: 7.806 MB / 0.7978 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/1.117, allocations: 7.938 kB / 0.7978 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007263/1.124, allocations: 5.87 MB / 0.8035 GB, free: 94.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/1.125, allocations: 0.5463 MB / 0.8041 GB, free: 94.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005844/1.126, allocations: 28 kB / 0.8041 GB, free: 94.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/1.128, allocations: 91.88 kB / 0.8042 GB, free: 94.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/1.128, allocations: 100.8 kB / 0.8043 GB, free: 94.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/1.128, allocations: 47.83 kB / 0.8043 GB, free: 94.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004263/1.132, allocations: 3.592 MB / 0.8078 GB, free: 90.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/1.132, allocations: 0 / 0.8078 GB, free: 90.58 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005488/1.138, allocations: 1.149 MB / 0.809 GB, free: 89.43 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.0004407/1.138, allocations: 167 kB / 0.8091 GB, free: 89.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006824/1.145, allocations: 5.337 MB / 0.8143 GB, free: 83.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.145, allocations: 0 / 0.8143 GB, free: 83.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001783/1.147, allocations: 1.53 MB / 0.8158 GB, free: 82.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003457/1.15, allocations: 0.5863 MB / 0.8164 GB, free: 81.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/1.165, allocations: 11.02 MB / 0.8272 GB, free: 70.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003203/1.168, allocations: 3.768 MB / 0.8308 GB, free: 66.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004037/1.172, allocations: 2.112 MB / 0.8329 GB, free: 64.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000715/1.173, allocations: 291.4 kB / 0.8332 GB, free: 64.53 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/1.173, allocations: 0 / 0.8332 GB, free: 64.53 MB / 0.5606 GB Notification: Performance of Templates: time 0.06677/1.239, allocations: 42.81 MB / 0.875 GB, free: 21.98 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 cvode -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.8099206648766994]