Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001351/0.001351, allocations: 184 kB / 13.19 MB, free: 2.129 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.535/1.535, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009245/0.0009248, allocations: 86.61 kB / 267 MB, free: 9.273 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.3869/0.3869, allocations: 43.46 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.795e-05/3.826e-05, allocations: 7.984 kB / 425.3 MB, free: 8.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1291, allocations: 58.84 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3922/0.5213, allocations: 105.5 MB / 0.5758 GB, free: 15.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.5216, allocations: 71.97 kB / 0.5759 GB, free: 15.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6999/1.222, allocations: 163.7 MB / 0.7358 GB, free: 80.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.222, allocations: 4 kB / 0.7358 GB, free: 80.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005041/1.222, allocations: 171.4 kB / 0.7359 GB, free: 80.75 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: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.02583/1.248, allocations: 8.004 MB / 0.7437 GB, free: 77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/1.248, allocations: 5.969 kB / 0.7438 GB, free: 77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04438/1.292, allocations: 12.04 MB / 0.7555 GB, free: 75.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02655/1.319, allocations: 10.83 MB / 0.7661 GB, free: 70.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006493/1.32, allocations: 0.6027 MB / 0.7667 GB, free: 70.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004299/1.324, allocations: 0.8132 MB / 0.7675 GB, free: 70.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05142/1.375, allocations: 19.13 MB / 0.7861 GB, free: 56.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008214/1.376, allocations: 107 kB / 0.7862 GB, free: 56.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004688/1.381, allocations: 388 kB / 0.7866 GB, free: 55.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00289/1.384, allocations: 1.734 MB / 0.7883 GB, free: 54.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0345/1.418, allocations: 15.47 MB / 0.8034 GB, free: 38.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4321/1.851, allocations: 79.73 MB / 0.8813 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01908/1.87, allocations: 8.185 MB / 0.8893 GB, free: 52.22 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005377/1.875, allocations: 4.082 MB / 0.8933 GB, free: 52.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007212/1.876, allocations: 0.6644 MB / 0.8939 GB, free: 51.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.452e-05/1.876, allocations: 74.02 kB / 0.894 GB, free: 51.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=307): time 6.792e-06/1.876, allocations: 0 / 0.894 GB, free: 51.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=331): time 0.07594/1.952, allocations: 25.93 MB / 0.9193 GB, free: 45.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.263e-05/1.952, allocations: 293.1 kB / 0.9196 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01552/1.968, allocations: 6.669 MB / 0.9261 GB, free: 44.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008625/1.969, allocations: 79.2 kB / 0.9262 GB, free: 44.58 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005251/1.974, allocations: 5.623 MB / 0.9317 GB, free: 41.73 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001987/1.976, allocations: 1.252 MB / 0.9329 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009664/1.977, allocations: 190.8 kB / 0.9331 GB, free: 40.67 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005272/1.977, allocations: 0.6997 MB / 0.9337 GB, free: 40.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006134/1.984, allocations: 3.373 MB / 0.937 GB, free: 39.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009767/1.993, allocations: 8.883 MB / 0.9457 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008275/2.002, allocations: 5.411 MB / 0.951 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001693/2.002, allocations: 59.52 kB / 0.9511 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.02452/2.026, allocations: 12.87 MB / 0.9636 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/2.027, allocations: 93.23 kB / 0.9637 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003225/2.027, allocations: 192.8 kB / 0.9639 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002442/2.029, allocations: 1.008 MB / 0.9649 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007989/2.037, allocations: 2.164 MB / 0.967 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/2.049, allocations: 10.98 MB / 0.9777 GB, free: 16.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009321/2.059, allocations: 0.5142 MB / 0.9782 GB, free: 16.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002162/2.061, allocations: 0.5566 MB / 0.9788 GB, free: 16.43 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 885 * Number of states: 0 () * Number of discrete variables: 66 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1152): * Single equations (assignments): 1145 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002762/2.064, allocations: 0.837 MB / 0.9796 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001725/2.066, allocations: 0.6645 MB / 0.9802 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/2.076, allocations: 5.867 MB / 0.986 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.673e-05/2.076, allocations: 36.97 kB / 0.986 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.636e-05/2.076, allocations: 7.5 kB / 0.986 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-05/2.076, allocations: 16.91 kB / 0.986 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03725/2.114, allocations: 14.63 MB / 1 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-05/2.114, allocations: 0 / 1 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002896/2.117, allocations: 0.533 MB / 1.001 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002127/2.119, allocations: 0.6652 MB / 1.001 GB, free: 4.504 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006373/2.119, allocations: 60.09 kB / 1.002 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/2.13, allocations: 9.858 MB / 1.011 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/2.13, allocations: 4 kB / 1.011 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01697/2.147, allocations: 9.927 MB / 1.021 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004706/2.152, allocations: 1.164 MB / 1.022 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001961/2.154, allocations: 57 kB / 1.022 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004165/2.158, allocations: 191.8 kB / 1.022 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007803/2.159, allocations: 192.1 kB / 1.022 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002714/2.159, allocations: 90.14 kB / 1.023 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.02406/2.184, allocations: 5.88 MB / 1.028 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.91e-07/2.184, allocations: 0 / 1.028 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01166/2.195, allocations: 1.813 MB / 1.03 GB, free: 13.24 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(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.001202/2.197, allocations: 214.5 kB / 1.03 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01577/2.212, allocations: 8.656 MB / 1.039 GB, free: 5.121 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/2.212, allocations: 4 kB / 1.039 GB, free: 5.117 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004983/2.217, allocations: 3.142 MB / 1.042 GB, free: 2.223 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006731/2.224, allocations: 0.9251 MB / 1.043 GB, free: 1.461 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03557/2.26, allocations: 14.57 MB / 1.057 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01242/2.272, allocations: 5.903 MB / 1.063 GB, free: 15.32 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.009815/2.282, allocations: 3.048 MB / 1.066 GB, free: 12.29 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002353/2.284, allocations: 451.4 kB / 1.066 GB, free: 11.85 MB / 0.573 GB Notification: Performance of SimCode: time 1.233e-06/2.285, allocations: 0 / 1.066 GB, free: 11.85 MB / 0.573 GB Notification: Performance of Templates: time 0.4416/2.726, allocations: 68.16 MB / 1.133 GB, free: 143.2 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches