Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009015/0.0009018, allocations: 174.3 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007173/0.000717, allocations: 90.39 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3289/0.3289, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004006, allocations: 23.98 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1209, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3492/0.4702, allocations: 107 MB / 0.5844 GB, free: 10.96 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.4705, allocations: 79.95 kB / 0.5845 GB, free: 10.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4912/0.9617, allocations: 109.5 MB / 0.6915 GB, free: 85.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.357e-06/0.9618, allocations: 0 / 0.6915 GB, free: 85.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003844/0.9622, allocations: 111 kB / 0.6916 GB, free: 85.82 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01716/0.9793, allocations: 5.6 MB / 0.6971 GB, free: 83.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.9794, allocations: 13.69 kB / 0.6971 GB, free: 83.42 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02168/1.001, allocations: 5.281 MB / 0.7022 GB, free: 83.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01343/1.015, allocations: 5.688 MB / 0.7078 GB, free: 82.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004678/1.015, allocations: 400 kB / 0.7082 GB, free: 82.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002422/1.017, allocations: 0.5307 MB / 0.7087 GB, free: 82.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03009/1.048, allocations: 12.93 MB / 0.7213 GB, free: 78.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004697/1.048, allocations: 78.02 kB / 0.7214 GB, free: 78.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001698/1.05, allocations: 263.1 kB / 0.7216 GB, free: 78.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00167/1.052, allocations: 1.21 MB / 0.7228 GB, free: 78.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02033/1.072, allocations: 10.27 MB / 0.7329 GB, free: 77.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05327/1.125, allocations: 58.41 MB / 0.7899 GB, free: 33.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009653/1.135, allocations: 4.673 MB / 0.7945 GB, free: 31.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002496/1.137, allocations: 2.238 MB / 0.7966 GB, free: 30.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0108/1.148, allocations: 6.815 MB / 0.8033 GB, free: 27.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/1.148, allocations: 55.38 kB / 0.8033 GB, free: 26.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 4.218e-06/1.148, allocations: 0 / 0.8033 GB, free: 26.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.03814/1.186, allocations: 15.55 MB / 0.8185 GB, free: 19.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/1.187, allocations: 205.2 kB / 0.8187 GB, free: 18.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01146/1.198, allocations: 5.784 MB / 0.8244 GB, free: 14.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003899/1.198, allocations: 49.7 kB / 0.8244 GB, free: 14.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002409/1.201, allocations: 4.04 MB / 0.8284 GB, free: 10.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008562/1.202, allocations: 0.757 MB / 0.8291 GB, free: 9.801 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000423/1.202, allocations: 144 kB / 0.8292 GB, free: 9.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002973/1.203, allocations: 0.5985 MB / 0.8298 GB, free: 9.141 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003164/1.206, allocations: 2.273 MB / 0.832 GB, free: 7.238 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005567/1.211, allocations: 6.713 MB / 0.8386 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01269/1.224, allocations: 9.771 MB / 0.8481 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001508/1.224, allocations: 48 kB / 0.8482 GB, free: 3.371 MB / 0.4948 GB Notification: Performance of matching and sorting (n=921) (initialization): time 0.02081/1.245, allocations: 9.115 MB / 0.8571 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/1.245, allocations: 78.88 kB / 0.8572 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002294/1.245, allocations: 156 kB / 0.8573 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/1.247, allocations: 0.5677 MB / 0.8579 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005596/1.253, allocations: 1.618 MB / 0.8595 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006708/1.259, allocations: 5.627 MB / 0.8649 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00568/1.265, allocations: 375.5 kB / 0.8653 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001261/1.266, allocations: 439.8 kB / 0.8657 GB, free: 2.074 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 717 * Number of states: 0 () * Number of discrete variables: 45 (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 (871): * Single equations (assignments): 866 * 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.2245/1.491, allocations: 2.619 MB / 0.8683 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/1.492, allocations: 481.1 kB / 0.8687 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006295/1.498, allocations: 3.007 MB / 0.8717 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.105e-05/1.498, allocations: 25.34 kB / 0.8717 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/1.498, allocations: 9.688 kB / 0.8717 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.529e-05/1.498, allocations: 11.34 kB / 0.8717 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01804/1.516, allocations: 8.164 MB / 0.8797 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.367e-05/1.516, allocations: 3.531 kB / 0.8797 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/1.518, allocations: 289.7 kB / 0.88 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009213/1.519, allocations: 349 kB / 0.8803 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/1.519, allocations: 40.72 kB / 0.8803 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004501/1.524, allocations: 4.953 MB / 0.8852 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.524, allocations: 3 kB / 0.8852 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008223/1.532, allocations: 5.507 MB / 0.8906 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002136/1.534, allocations: 0.7882 MB / 0.8913 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001322/1.535, allocations: 36.91 kB / 0.8914 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002506/1.538, allocations: 90.27 kB / 0.8915 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003378/1.538, allocations: 116.5 kB / 0.8916 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/1.538, allocations: 54.8 kB / 0.8916 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007937/1.546, allocations: 3.705 MB / 0.8952 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/1.546, allocations: 0 / 0.8952 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007775/1.554, allocations: 1.199 MB / 0.8964 GB, free: 100.7 MB / 0.5105 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 (154): * Single equations (assignments): 149 * 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.0005327/1.555, allocations: 169.9 kB / 0.8966 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009349/1.564, allocations: 5.624 MB / 0.9021 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/1.564, allocations: 4.344 kB / 0.9021 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002305/1.566, allocations: 1.676 MB / 0.9037 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005684/1.572, allocations: 0.6249 MB / 0.9043 GB, free: 100 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02481/1.597, allocations: 13.43 MB / 0.9174 GB, free: 93.56 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006451/1.603, allocations: 4.023 MB / 0.9214 GB, free: 92.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006779/1.61, allocations: 2.311 MB / 0.9236 GB, free: 92.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000894/1.611, allocations: 309.3 kB / 0.9239 GB, free: 92.03 MB / 0.5105 GB Notification: Performance of SimCode: time 8.12e-07/1.611, allocations: 3.844 kB / 0.9239 GB, free: 92.03 MB / 0.5105 GB Notification: Performance of Templates: time 0.08288/1.694, allocations: 42.48 MB / 0.9654 GB, free: 89.8 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches