Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008807/0.0008807, allocations: 103.1 kB / 292.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3102/0.3102, allocations: 44.22 MB / 387.5 MB, free: 39.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 8 kB / 459.9 MB, free: 1.789 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3703, allocations: 61.89 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.5089, allocations: 108.2 MB / 0.6152 GB, free: 2.977 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.5092, allocations: 87.95 kB / 0.6153 GB, free: 2.891 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5084/1.018, allocations: 108 MB / 0.7208 GB, free: 95.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.264e-06/1.018, allocations: 0 / 0.7208 GB, free: 95.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003059/1.018, allocations: 105.4 kB / 0.7209 GB, free: 95.41 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01732/1.035, allocations: 5.606 MB / 0.7263 GB, free: 92.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/1.035, allocations: 9.469 kB / 0.7264 GB, free: 92.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02464/1.06, allocations: 6.869 MB / 0.7331 GB, free: 91.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01659/1.077, allocations: 6.41 MB / 0.7393 GB, free: 89.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00029/1.077, allocations: 388 kB / 0.7397 GB, free: 89.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001979/1.079, allocations: 0.5043 MB / 0.7402 GB, free: 89.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02137/1.1, allocations: 12.4 MB / 0.7523 GB, free: 82.49 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000202/1.101, allocations: 76.97 kB / 0.7524 GB, free: 82.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007941/1.101, allocations: 248.1 kB / 0.7526 GB, free: 82.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001216/1.103, allocations: 1.134 MB / 0.7537 GB, free: 82.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01769/1.12, allocations: 9.809 MB / 0.7633 GB, free: 79.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05117/1.172, allocations: 56.34 MB / 0.8183 GB, free: 22.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009185/1.181, allocations: 4.351 MB / 0.8226 GB, free: 18.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01321/1.194, allocations: 6.204 MB / 0.8286 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/1.194, allocations: 51.55 kB / 0.8287 GB, free: 12.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=154): time 5.28e-06/1.194, allocations: 4 kB / 0.8287 GB, free: 12.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=166): time 0.03232/1.226, allocations: 14.27 MB / 0.8426 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/1.227, allocations: 204.9 kB / 0.8428 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008705/1.235, allocations: 5.001 MB / 0.8477 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003952/1.236, allocations: 49.7 kB / 0.8477 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003619/1.239, allocations: 3.857 MB / 0.8515 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001373/1.241, allocations: 0.6568 MB / 0.8521 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006226/1.241, allocations: 136 kB / 0.8523 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005332/1.242, allocations: 0.5869 MB / 0.8528 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003363/1.245, allocations: 1.996 MB / 0.8548 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006396/1.252, allocations: 6.273 MB / 0.8609 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005462/1.257, allocations: 3.482 MB / 0.8643 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/1.257, allocations: 44 kB / 0.8644 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.01727/1.275, allocations: 8.4 MB / 0.8726 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.87e-05/1.275, allocations: 72.75 kB / 0.8726 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001923/1.275, allocations: 156 kB / 0.8728 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/1.276, allocations: 0.5818 MB / 0.8734 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004829/1.281, allocations: 1.501 MB / 0.8748 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006308/1.288, allocations: 5.689 MB / 0.8804 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006363/1.294, allocations: 339.5 kB / 0.8807 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001614/1.296, allocations: 412 kB / 0.8811 GB, free: 3.801 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,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 (815): * Single equations (assignments): 810 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006812/1.302, allocations: 2.521 MB / 0.8836 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001293/1.304, allocations: 466.3 kB / 0.884 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3276/1.631, allocations: 2.466 MB / 0.8864 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.165e-05/1.631, allocations: 18.47 kB / 0.8864 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.631, allocations: 5.344 kB / 0.8864 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.961e-05/1.631, allocations: 8.531 kB / 0.8864 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0147/1.646, allocations: 7.164 MB / 0.8934 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/1.646, allocations: 2.75 kB / 0.8934 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/1.647, allocations: 232.2 kB / 0.8937 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009183/1.648, allocations: 343.8 kB / 0.894 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/1.648, allocations: 32.88 kB / 0.894 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004597/1.653, allocations: 5.048 MB / 0.8989 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/1.653, allocations: 9.203 kB / 0.899 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006614/1.66, allocations: 5.097 MB / 0.9039 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002028/1.662, allocations: 0.5233 MB / 0.9044 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000493/1.662, allocations: 33.47 kB / 0.9045 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.663, allocations: 72.56 kB / 0.9045 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002716/1.664, allocations: 98.45 kB / 0.9046 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/1.664, allocations: 45.14 kB / 0.9047 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005992/1.67, allocations: 3.582 MB / 0.9082 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.3e-07/1.67, allocations: 0 / 0.9082 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005971/1.676, allocations: 1.109 MB / 0.9093 GB, free: 120.3 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000429/1.676, allocations: 170.9 kB / 0.9094 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007855/1.684, allocations: 5.004 MB / 0.9143 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.684, allocations: 4.031 kB / 0.9143 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/1.686, allocations: 1.416 MB / 0.9157 GB, free: 118 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003853/1.69, allocations: 0.6031 MB / 0.9163 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02257/1.712, allocations: 12.5 MB / 0.9285 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005163/1.718, allocations: 3.957 MB / 0.9324 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006016/1.724, allocations: 2.163 MB / 0.9345 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008505/1.725, allocations: 294.6 kB / 0.9348 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of SimCode: time 9.42e-07/1.725, allocations: 2.625 kB / 0.9348 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.07081/1.795, allocations: 39.78 MB / 0.9736 GB, free: 104.8 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches