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.0009381/0.0009381, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 221.5 MB / 230.7 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008312/0.0008311, allocations: 102 kB / 281.6 MB, free: 5.312 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.1852/0.1852, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.92e-05/1.973e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4018/0.5231, allocations: 107.4 MB / 0.5996 GB, free: 5.023 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.5235, allocations: 71.97 kB / 0.5997 GB, free: 4.953 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5675/1.091, allocations: 105.9 MB / 0.7031 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.794e-06/1.091, allocations: 1.156 kB / 0.7031 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003715/1.091, allocations: 99.3 kB / 0.7032 GB, free: 105.5 MB / 0.4948 GB 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.02077/1.112, allocations: 5.142 MB / 0.7082 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/1.112, allocations: 12.83 kB / 0.7082 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02959/1.142, allocations: 6.88 MB / 0.7149 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01769/1.16, allocations: 6.366 MB / 0.7211 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003122/1.16, allocations: 162.9 kB / 0.7213 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00202/1.162, allocations: 307.4 kB / 0.7216 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01311/1.175, allocations: 6.793 MB / 0.7282 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02218/1.197, allocations: 10.87 MB / 0.7388 GB, free: 99.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003047/1.198, allocations: 74.22 kB / 0.7389 GB, free: 99.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001238/1.199, allocations: 42.73 kB / 0.7389 GB, free: 99.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001317/1.2, allocations: 1.129 MB / 0.74 GB, free: 99.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05189/1.252, allocations: 54.37 MB / 0.7931 GB, free: 59.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005119/1.257, allocations: 3.153 MB / 0.7962 GB, free: 57.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002844/1.26, allocations: 1.835 MB / 0.798 GB, free: 57.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/1.26, allocations: 28.64 kB / 0.798 GB, free: 57.17 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/1.26, allocations: 54.38 kB / 0.7981 GB, free: 57.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=151): time 1.867e-05/1.26, allocations: 0 / 0.7981 GB, free: 57.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=165): time 0.04299/1.303, allocations: 15.85 MB / 0.8136 GB, free: 50.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/1.304, allocations: 205.7 kB / 0.8138 GB, free: 50.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008126/1.312, allocations: 3.93 MB / 0.8176 GB, free: 46.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003488/1.312, allocations: 29.7 kB / 0.8176 GB, free: 46.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002021/1.314, allocations: 3.928 MB / 0.8215 GB, free: 42.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006843/1.315, allocations: 0.6476 MB / 0.8221 GB, free: 42.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/1.315, allocations: 0 / 0.8221 GB, free: 42.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002839/1.315, allocations: 0.5907 MB / 0.8227 GB, free: 41.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002221/1.318, allocations: 1.905 MB / 0.8245 GB, free: 40.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003998/1.322, allocations: 6.288 MB / 0.8307 GB, free: 32.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004049/1.326, allocations: 3.453 MB / 0.8341 GB, free: 29.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-05/1.326, allocations: 44 kB / 0.8341 GB, free: 29.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.01291/1.339, allocations: 7.533 MB / 0.8415 GB, free: 22.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.31e-05/1.339, allocations: 75.14 kB / 0.8415 GB, free: 22.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000165/1.339, allocations: 160 kB / 0.8417 GB, free: 22.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/1.34, allocations: 0.5868 MB / 0.8423 GB, free: 21.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005475/1.346, allocations: 1.557 MB / 0.8438 GB, free: 20.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005351/1.351, allocations: 5.423 MB / 0.8491 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005472/1.357, allocations: 212.7 kB / 0.8493 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/1.358, allocations: 430.7 kB / 0.8497 GB, free: 14.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (847): * Single equations (assignments): 842 * 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.001008/1.359, allocations: 0.4937 MB / 0.8502 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008392/1.36, allocations: 406.5 kB / 0.8506 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003626/1.363, allocations: 2.274 MB / 0.8528 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/1.363, allocations: 26.5 kB / 0.8528 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/1.363, allocations: 4 kB / 0.8528 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/1.363, allocations: 15.72 kB / 0.8528 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/1.375, allocations: 6.345 MB / 0.859 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/1.375, allocations: 0 / 0.859 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/1.376, allocations: 232.3 kB / 0.8592 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008799/1.377, allocations: 336.3 kB / 0.8596 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/1.377, allocations: 4 kB / 0.8596 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004006/1.381, allocations: 4.738 MB / 0.8642 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.381, allocations: 0 / 0.8642 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006091/1.387, allocations: 4.548 MB / 0.8686 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/1.388, allocations: 441.3 kB / 0.869 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004888/1.389, allocations: 7.938 kB / 0.8691 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/1.39, allocations: 50.7 kB / 0.8691 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/1.39, allocations: 91.66 kB / 0.8692 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/1.391, allocations: 40 kB / 0.8692 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005176/1.396, allocations: 2.658 MB / 0.8718 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/1.396, allocations: 0 / 0.8718 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006494/1.402, allocations: 0.9609 MB / 0.8728 GB, free: 9.727 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 120 * 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.0004302/1.403, allocations: 143.3 kB / 0.8729 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009083/1.412, allocations: 4.728 MB / 0.8775 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.412, allocations: 0 / 0.8775 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002005/1.414, allocations: 1.394 MB / 0.8789 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/1.417, allocations: 498.8 kB / 0.8794 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01887/1.436, allocations: 8.515 MB / 0.8877 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005701/1.442, allocations: 3.96 MB / 0.8915 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005888/1.447, allocations: 2.191 MB / 0.8937 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007977/1.448, allocations: 263.4 kB / 0.8939 GB, free: 5.168 MB / 0.5261 GB Notification: Performance of SimCode: time 7.31e-07/1.448, allocations: 0 / 0.8939 GB, free: 5.168 MB / 0.5261 GB Notification: Performance of Templates: time 0.3414/1.79, allocations: 32.71 MB / 0.9259 GB, free: 116.2 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