Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.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.001296/0.001296, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001448/0.001448, allocations: 205.6 kB / 24.47 MB, free: 4.023 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.488/1.488, allocations: 230.2 MB / 257.8 MB, free: 8.488 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.2308/0.2308, allocations: 46.9 MB / 361.1 MB, free: 4.613 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.FrameForces,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.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,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.FrameForces") [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.003625/0.003625, allocations: 75.86 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3989, allocations: 65.99 MB / 0.5612 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01645/0.4153, allocations: 12.74 MB / 0.5736 GB, free: 8.258 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.426, allocations: 4.548 MB / 0.5781 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002253/0.4282, allocations: 87.75 kB / 0.5782 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007457/0.4357, allocations: 3.765 MB / 0.5818 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007789/0.4435, allocations: 2.234 MB / 0.584 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.4464, allocations: 1.006 MB / 0.585 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01012/0.4565, allocations: 6.042 MB / 0.5909 GB, free: 6.523 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006028/0.4625, allocations: 3.234 MB / 0.5941 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004193/0.4667, allocations: 1.97 MB / 0.596 GB, free: 1.242 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005194/0.4719, allocations: 2.812 MB / 0.5987 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.4734, allocations: 412 kB / 0.5991 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003632/0.477, allocations: 1.482 MB / 0.6006 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003664/0.4807, allocations: 2.485 MB / 0.603 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005004/0.4857, allocations: 2.703 MB / 0.6056 GB, free: 7.324 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01323/0.4989, allocations: 8.642 MB / 0.6141 GB, free: 14.64 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4989, allocations: 0 / 0.6141 GB, free: 14.64 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4989, allocations: 4 kB / 0.6141 GB, free: 14.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003426/0.4993, allocations: 0 / 0.6141 GB, free: 14.64 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01744/0.5167, allocations: 6.152 MB / 0.6201 GB, free: 8.406 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.5167, allocations: 12.92 kB / 0.6201 GB, free: 8.395 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01297/0.5297, allocations: 2.571 MB / 0.6226 GB, free: 5.816 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/0.5401, allocations: 3.752 MB / 0.6263 GB, free: 2.012 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002952/0.5404, allocations: 279.5 kB / 0.6265 GB, free: 1.738 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001467/0.5418, allocations: 379.7 kB / 0.6269 GB, free: 1.367 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02504/0.5669, allocations: 11.6 MB / 0.6382 GB, free: 4.914 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002968/0.5672, allocations: 59.52 kB / 0.6383 GB, free: 4.855 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001439/0.5686, allocations: 175.8 kB / 0.6385 GB, free: 4.684 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004388/0.573, allocations: 2.147 MB / 0.6406 GB, free: 2.535 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02231/0.5953, allocations: 9.625 MB / 0.65 GB, free: 8.891 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06922/0.6645, allocations: 45.72 MB / 0.6946 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/0.6759, allocations: 3.8 MB / 0.6983 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003304/0.6792, allocations: 2.009 MB / 0.7003 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01425/0.6935, allocations: 6.521 MB / 0.7066 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.369e-05/0.6935, allocations: 55.5 kB / 0.7067 GB, free: 13.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=154): time 6.121e-06/0.6936, allocations: 3.984 kB / 0.7067 GB, free: 13.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.04993/0.7435, allocations: 16.73 MB / 0.723 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.7436, allocations: 200.8 kB / 0.7232 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0109/0.7545, allocations: 5.62 MB / 0.7287 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004018/0.7549, allocations: 45.7 kB / 0.7288 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003802/0.7587, allocations: 3.834 MB / 0.7325 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001083/0.7598, allocations: 0.6979 MB / 0.7332 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002948/0.7628, allocations: 1.424 MB / 0.7346 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7629, allocations: 309.1 kB / 0.7349 GB, free: 212 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3076/1.071, allocations: 2.312 MB / 0.7371 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005657/1.076, allocations: 6.58 MB / 0.7436 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009705/1.086, allocations: 9.551 MB / 0.7529 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001868/1.086, allocations: 46.84 kB / 0.7529 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01581/1.102, allocations: 9.64 MB / 0.7623 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/1.102, allocations: 73.97 kB / 0.7624 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/1.102, allocations: 152 kB / 0.7626 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002804/1.105, allocations: 1.209 MB / 0.7637 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004568/1.109, allocations: 1.576 MB / 0.7653 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007898/1.117, allocations: 8.336 MB / 0.7734 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005534/1.123, allocations: 369.4 kB / 0.7738 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008712/1.124, allocations: 420 kB / 0.7742 GB, free: 124.8 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 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (842): * Single equations (assignments): 835 * 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,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003327/1.127, allocations: 2.456 MB / 0.7766 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007719/1.128, allocations: 478 kB / 0.777 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005233/1.133, allocations: 3.419 MB / 0.7804 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.648e-05/1.133, allocations: 19.83 kB / 0.7804 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.133, allocations: 11.98 kB / 0.7804 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/1.133, allocations: 3.984 kB / 0.7804 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/1.147, allocations: 8.159 MB / 0.7884 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/1.147, allocations: 1.078 kB / 0.7884 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/1.148, allocations: 307.8 kB / 0.7887 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002449/1.151, allocations: 0.9837 MB / 0.7896 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/1.151, allocations: 32 kB / 0.7896 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007042/1.158, allocations: 7.689 MB / 0.7972 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.158, allocations: 4 kB / 0.7972 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00735/1.165, allocations: 5.879 MB / 0.8029 GB, free: 95.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001578/1.167, allocations: 0.5456 MB / 0.8034 GB, free: 94.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006929/1.167, allocations: 28 kB / 0.8035 GB, free: 94.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/1.169, allocations: 95.81 kB / 0.8036 GB, free: 94.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/1.169, allocations: 100.6 kB / 0.8036 GB, free: 94.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/1.17, allocations: 47.98 kB / 0.8037 GB, free: 94.72 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004386/1.174, allocations: 3.584 MB / 0.8072 GB, free: 91.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.174, allocations: 0 / 0.8072 GB, free: 91.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005493/1.179, allocations: 1.149 MB / 0.8083 GB, free: 90.02 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (126): * Single equations (assignments): 121 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003833/1.18, allocations: 165.2 kB / 0.8085 GB, free: 89.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006843/1.187, allocations: 5.361 MB / 0.8137 GB, free: 84.51 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.187, allocations: 0 / 0.8137 GB, free: 84.51 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/1.188, allocations: 1.527 MB / 0.8152 GB, free: 82.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/1.192, allocations: 0.6036 MB / 0.8158 GB, free: 82.37 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/1.207, allocations: 11.01 MB / 0.8265 GB, free: 71.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003261/1.21, allocations: 3.759 MB / 0.8302 GB, free: 67.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00413/1.214, allocations: 2.132 MB / 0.8323 GB, free: 65.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007376/1.215, allocations: 295.4 kB / 0.8326 GB, free: 65.08 MB / 0.5606 GB Notification: Performance of SimCode: time 1.443e-06/1.215, allocations: 0 / 0.8326 GB, free: 65.08 MB / 0.5606 GB Notification: Performance of Templates: time 0.07056/1.286, allocations: 43.61 MB / 0.8752 GB, free: 21.71 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.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.663008934818208]