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.001207/0.001207, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.498/1.498, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009212/0.0009216, allocations: 94.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2433/0.2433, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003642, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1425, allocations: 58.87 MB / 490.3 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4468/0.5894, allocations: 106.8 MB / 0.5831 GB, free: 9.254 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/0.5898, allocations: 80.22 kB / 0.5832 GB, free: 9.215 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2885/0.8784, allocations: 111.3 MB / 0.6918 GB, free: 1.633 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.828e-06/0.8784, allocations: 0 / 0.6918 GB, free: 1.633 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004052/0.8788, allocations: 108 kB / 0.6919 GB, free: 1.527 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.02028/0.8991, allocations: 5.821 MB / 0.6976 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.8992, allocations: 12.02 kB / 0.6976 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02678/0.926, allocations: 6.927 MB / 0.7044 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3022/1.228, allocations: 6.835 MB / 0.7111 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005704/1.229, allocations: 400 kB / 0.7115 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002949/1.232, allocations: 0.5239 MB / 0.712 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03411/1.266, allocations: 13 MB / 0.7247 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002642/1.266, allocations: 85.3 kB / 0.7248 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008497/1.267, allocations: 260.9 kB / 0.725 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001801/1.269, allocations: 1.201 MB / 0.7262 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0192/1.288, allocations: 10.39 MB / 0.7363 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06564/1.354, allocations: 58.47 MB / 0.7934 GB, free: 62.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/1.365, allocations: 4.685 MB / 0.798 GB, free: 61.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01405/1.379, allocations: 6.86 MB / 0.8047 GB, free: 58.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/1.379, allocations: 53.88 kB / 0.8047 GB, free: 57.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=181): time 4.709e-06/1.379, allocations: 0 / 0.8047 GB, free: 57.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=193): time 0.04255/1.421, allocations: 15.8 MB / 0.8202 GB, free: 51.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/1.421, allocations: 202.5 kB / 0.8204 GB, free: 51.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01261/1.434, allocations: 5.163 MB / 0.8254 GB, free: 49.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005274/1.435, allocations: 52.36 kB / 0.8255 GB, free: 49.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003521/1.438, allocations: 4.027 MB / 0.8294 GB, free: 46.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001238/1.439, allocations: 0.7565 MB / 0.8301 GB, free: 45.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/1.441, allocations: 145.2 kB / 0.8303 GB, free: 45.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009341/1.442, allocations: 0.6064 MB / 0.8309 GB, free: 45.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004293/1.446, allocations: 2.273 MB / 0.8331 GB, free: 44.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006156/1.452, allocations: 6.692 MB / 0.8396 GB, free: 36.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005577/1.458, allocations: 3.819 MB / 0.8433 GB, free: 33.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001605/1.458, allocations: 48 kB / 0.8434 GB, free: 33.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=921) (initialization): time 0.01814/1.476, allocations: 9.117 MB / 0.8523 GB, free: 25.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00027/1.476, allocations: 79.89 kB / 0.8524 GB, free: 25.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003441/1.477, allocations: 156 kB / 0.8525 GB, free: 24.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/1.478, allocations: 0.599 MB / 0.8531 GB, free: 24.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005607/1.484, allocations: 1.614 MB / 0.8547 GB, free: 22.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006188/1.49, allocations: 5.692 MB / 0.8602 GB, free: 17.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008353/1.498, allocations: 380.3 kB / 0.8606 GB, free: 17.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001826/1.5, allocations: 435.4 kB / 0.861 GB, free: 16.77 MB / 0.4948 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.006715/1.507, allocations: 2.622 MB / 0.8636 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001471/1.509, allocations: 489.1 kB / 0.864 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006126/1.515, allocations: 3.008 MB / 0.867 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-05/1.515, allocations: 31.06 kB / 0.867 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/1.515, allocations: 11.95 kB / 0.867 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/1.515, allocations: 5.906 kB / 0.867 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/1.533, allocations: 8.162 MB / 0.875 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/1.533, allocations: 4 kB / 0.875 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/1.535, allocations: 287.5 kB / 0.8753 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009644/1.536, allocations: 353.3 kB / 0.8756 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000219/1.536, allocations: 39.22 kB / 0.8757 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004861/1.541, allocations: 5.052 MB / 0.8806 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.541, allocations: 4 kB / 0.8806 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009077/1.55, allocations: 5.976 MB / 0.8864 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0029/1.553, allocations: 0.7909 MB / 0.8872 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001303/1.554, allocations: 36 kB / 0.8872 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002499/1.557, allocations: 94.05 kB / 0.8873 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/1.557, allocations: 109.4 kB / 0.8874 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/1.557, allocations: 59.78 kB / 0.8875 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008574/1.566, allocations: 3.695 MB / 0.8911 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/1.566, allocations: 0 / 0.8911 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01019/1.576, allocations: 1.203 MB / 0.8923 GB, free: 4.672 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.0008389/1.577, allocations: 180.4 kB / 0.8924 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2671/1.844, allocations: 5.67 MB / 0.898 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.844, allocations: 3.375 kB / 0.898 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003057/1.847, allocations: 1.685 MB / 0.8996 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003644/1.851, allocations: 0.5919 MB / 0.9002 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02572/1.876, allocations: 13.38 MB / 0.9133 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007466/1.884, allocations: 4.136 MB / 0.9173 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006098/1.89, allocations: 2.303 MB / 0.9196 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000833/1.891, allocations: 313.9 kB / 0.9199 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of SimCode: time 8.62e-07/1.891, allocations: 0 / 0.9199 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.0758/1.967, allocations: 42.31 MB / 0.9612 GB, free: 100.7 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/jenkins/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