Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00139/0.00139, allocations: 180.9 kB / 17.41 MB, free: 4.297 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.899/1.899, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0007812/0.0007812, allocations: 83.78 kB / 271.9 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.3404/0.3404, allocations: 43.56 MB / 363.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.0004201, allocations: 16 kB / 432.6 MB, free: 5.867 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1249, allocations: 58.85 MB / 491.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3384/0.4634, allocations: 107 MB / 0.5844 GB, free: 11.37 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.4637, allocations: 76.97 kB / 0.5845 GB, free: 11.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4754/0.9391, allocations: 109.5 MB / 0.6915 GB, free: 85.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.9392, allocations: 0 / 0.6915 GB, free: 85.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002281/0.9394, allocations: 105.8 kB / 0.6916 GB, free: 85.42 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.01587/0.9553, allocations: 5.608 MB / 0.697 GB, free: 83.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.9553, allocations: 9.75 kB / 0.697 GB, free: 83.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02228/0.9776, allocations: 5.288 MB / 0.7022 GB, free: 82.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/0.9903, allocations: 5.686 MB / 0.7078 GB, free: 81.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000364/0.9907, allocations: 399.5 kB / 0.7081 GB, free: 81.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003239/0.9939, allocations: 0.5282 MB / 0.7087 GB, free: 81.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03089/1.025, allocations: 12.94 MB / 0.7213 GB, free: 78.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004974/1.025, allocations: 75.59 kB / 0.7214 GB, free: 78.44 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001633/1.027, allocations: 263.5 kB / 0.7216 GB, free: 78.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001858/1.029, allocations: 1.206 MB / 0.7228 GB, free: 78.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02054/1.049, allocations: 10.28 MB / 0.7328 GB, free: 76.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05514/1.105, allocations: 58.41 MB / 0.7899 GB, free: 32.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/1.115, allocations: 4.683 MB / 0.7944 GB, free: 30.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00271/1.118, allocations: 2.235 MB / 0.7966 GB, free: 29.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01139/1.129, allocations: 6.808 MB / 0.8033 GB, free: 26.69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/1.129, allocations: 55.22 kB / 0.8033 GB, free: 26.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 5.861e-06/1.129, allocations: 3.938 kB / 0.8033 GB, free: 26.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.04118/1.17, allocations: 15.54 MB / 0.8185 GB, free: 19.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/1.17, allocations: 209.2 kB / 0.8187 GB, free: 18.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00814/1.179, allocations: 5.783 MB / 0.8244 GB, free: 14.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000468/1.179, allocations: 49.7 kB / 0.8244 GB, free: 14.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002186/1.181, allocations: 4.03 MB / 0.8283 GB, free: 10.42 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009378/1.182, allocations: 0.7564 MB / 0.8291 GB, free: 9.758 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/1.183, allocations: 144 kB / 0.8292 GB, free: 9.617 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003315/1.183, allocations: 0.5983 MB / 0.8298 GB, free: 9.098 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003049/1.186, allocations: 2.274 MB / 0.832 GB, free: 7.191 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004818/1.191, allocations: 6.722 MB / 0.8386 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/1.202, allocations: 9.771 MB / 0.8481 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001498/1.202, allocations: 44 kB / 0.8482 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of matching and sorting (n=921) (initialization): time 0.0186/1.221, allocations: 9.107 MB / 0.8571 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/1.221, allocations: 75.75 kB / 0.8571 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002271/1.222, allocations: 160 kB / 0.8573 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/1.223, allocations: 0.5693 MB / 0.8578 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00566/1.229, allocations: 1.621 MB / 0.8594 GB, free: 8.895 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006234/1.235, allocations: 5.62 MB / 0.8649 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006248/1.241, allocations: 386.2 kB / 0.8653 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001633/1.243, allocations: 436 kB / 0.8657 GB, free: 2.223 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.2574/1.5, allocations: 2.617 MB / 0.8683 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/1.501, allocations: 480.5 kB / 0.8687 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006614/1.508, allocations: 3.012 MB / 0.8717 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.141e-05/1.508, allocations: 27 kB / 0.8717 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/1.508, allocations: 5.469 kB / 0.8717 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/1.508, allocations: 9.578 kB / 0.8717 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/1.525, allocations: 8.165 MB / 0.8797 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/1.525, allocations: 3.312 kB / 0.8797 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/1.526, allocations: 291.7 kB / 0.8799 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009376/1.527, allocations: 342.6 kB / 0.8803 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/1.527, allocations: 37.22 kB / 0.8803 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004325/1.531, allocations: 4.958 MB / 0.8852 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.531, allocations: 8.188 kB / 0.8852 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006888/1.538, allocations: 5.506 MB / 0.8905 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001796/1.54, allocations: 0.7884 MB / 0.8913 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004675/1.541, allocations: 32.19 kB / 0.8913 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/1.542, allocations: 96.67 kB / 0.8914 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/1.542, allocations: 115 kB / 0.8915 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/1.543, allocations: 52.25 kB / 0.8916 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005845/1.548, allocations: 3.698 MB / 0.8952 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.4e-07/1.548, allocations: 1.531 kB / 0.8952 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00613/1.555, allocations: 1.199 MB / 0.8964 GB, free: 100.5 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.0004845/1.555, allocations: 184.3 kB / 0.8965 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008894/1.564, allocations: 5.62 MB / 0.902 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/1.564, allocations: 1.719 kB / 0.902 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002346/1.566, allocations: 1.689 MB / 0.9037 GB, free: 99.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005782/1.572, allocations: 0.6154 MB / 0.9043 GB, free: 99.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02442/1.597, allocations: 14.05 MB / 0.918 GB, free: 93.14 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005242/1.602, allocations: 4.025 MB / 0.9219 GB, free: 91.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/1.603, allocations: 374 kB / 0.9223 GB, free: 91.67 MB / 0.5105 GB Notification: Performance of SimCode: time 9.21e-07/1.603, allocations: 0 / 0.9223 GB, free: 91.67 MB / 0.5105 GB Notification: Performance of Templates: time 0.1663/1.77, allocations: 120 MB / 1.039 GB, free: 15.44 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches