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.001068/0.001068, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009425/0.0009422, allocations: 82.31 kB / 261.7 MB, free: 1.625 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.2339/0.2339, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.405e-05/1.408e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 58.85 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4418/0.5619, allocations: 106.1 MB / 0.5695 GB, free: 5.672 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.5623, allocations: 82.11 kB / 0.5696 GB, free: 5.633 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2768/0.8391, allocations: 109 MB / 0.6761 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.8392, allocations: 3.938 kB / 0.6761 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003071/0.8395, allocations: 107.9 kB / 0.6762 GB, free: 412 kB / 474.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.01753/0.857, allocations: 5.341 MB / 0.6814 GB, free: 10.99 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.8571, allocations: 8.031 kB / 0.6814 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02859/0.8857, allocations: 6.927 MB / 0.6882 GB, free: 4.039 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01755/0.9033, allocations: 6.809 MB / 0.6948 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002944/0.9036, allocations: 168 kB / 0.695 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002321/0.906, allocations: 315.9 kB / 0.6953 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01552/0.9215, allocations: 7.233 MB / 0.7023 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3/1.222, allocations: 11.41 MB / 0.7135 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002767/1.222, allocations: 79.27 kB / 0.7136 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009133/1.223, allocations: 38.19 kB / 0.7136 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001896/1.225, allocations: 1.208 MB / 0.7148 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05981/1.285, allocations: 56.27 MB / 0.7697 GB, free: 70.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003959/1.289, allocations: 3.459 MB / 0.7731 GB, free: 69.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002128/1.291, allocations: 2.099 MB / 0.7752 GB, free: 69.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/1.291, allocations: 36.84 kB / 0.7752 GB, free: 69.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/1.291, allocations: 56.38 kB / 0.7752 GB, free: 69.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=183): time 5.16e-06/1.291, allocations: 0 / 0.7752 GB, free: 69.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=197): time 0.02891/1.32, allocations: 17.32 MB / 0.7921 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/1.32, allocations: 206.9 kB / 0.7923 GB, free: 63.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006667/1.327, allocations: 4.073 MB / 0.7963 GB, free: 61.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004689/1.327, allocations: 29.39 kB / 0.7964 GB, free: 61.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002333/1.329, allocations: 4.076 MB / 0.8003 GB, free: 58.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009797/1.33, allocations: 0.7548 MB / 0.8011 GB, free: 58.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/1.331, allocations: 1.641 kB / 0.8011 GB, free: 58.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003187/1.331, allocations: 0.616 MB / 0.8017 GB, free: 57.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002592/1.334, allocations: 2.159 MB / 0.8038 GB, free: 56.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004839/1.339, allocations: 6.724 MB / 0.8103 GB, free: 50 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00495/1.343, allocations: 3.789 MB / 0.814 GB, free: 48.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001288/1.344, allocations: 49.52 kB / 0.8141 GB, free: 48.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.01475/1.358, allocations: 8.226 MB / 0.8221 GB, free: 45.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/1.359, allocations: 78.06 kB / 0.8222 GB, free: 45.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002203/1.359, allocations: 166.9 kB / 0.8224 GB, free: 45.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/1.36, allocations: 0.5862 MB / 0.8229 GB, free: 45.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005356/1.365, allocations: 1.691 MB / 0.8246 GB, free: 45.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005214/1.371, allocations: 5.408 MB / 0.8299 GB, free: 41.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005997/1.377, allocations: 237.2 kB / 0.8301 GB, free: 41.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/1.378, allocations: 455.9 kB / 0.8305 GB, free: 41.74 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 747 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (909): * Single equations (assignments): 904 * 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.00216/1.381, allocations: 0.5184 MB / 0.831 GB, free: 41.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/1.382, allocations: 424.1 kB / 0.8314 GB, free: 41.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005422/1.387, allocations: 2.925 MB / 0.8343 GB, free: 39.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/1.387, allocations: 22.53 kB / 0.8343 GB, free: 39.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.859e-05/1.387, allocations: 7.812 kB / 0.8343 GB, free: 39.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.06e-05/1.387, allocations: 7.5 kB / 0.8343 GB, free: 39.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/1.404, allocations: 7.335 MB / 0.8415 GB, free: 36.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/1.404, allocations: 4 kB / 0.8415 GB, free: 36.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/1.405, allocations: 296.9 kB / 0.8418 GB, free: 36.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009261/1.406, allocations: 340.4 kB / 0.8421 GB, free: 36.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002277/1.407, allocations: 11.95 kB / 0.8421 GB, free: 36.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004246/1.411, allocations: 4.735 MB / 0.8467 GB, free: 31.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.411, allocations: 7.969 kB / 0.8467 GB, free: 31.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007048/1.418, allocations: 5.532 MB / 0.8522 GB, free: 26.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00212/1.42, allocations: 0.7034 MB / 0.8528 GB, free: 26.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/1.421, allocations: 0 / 0.8528 GB, free: 26.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002316/1.424, allocations: 63.7 kB / 0.8529 GB, free: 26.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/1.424, allocations: 112.4 kB / 0.853 GB, free: 26.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.424, allocations: 55.47 kB / 0.8531 GB, free: 26.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006046/1.43, allocations: 2.753 MB / 0.8557 GB, free: 23.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.322e-06/1.43, allocations: 0 / 0.8557 GB, free: 23.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008402/1.439, allocations: 1.039 MB / 0.8568 GB, free: 22.65 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (156): * Single equations (assignments): 151 * 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.0006557/1.439, allocations: 146.4 kB / 0.8569 GB, free: 22.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00876/1.448, allocations: 5.333 MB / 0.8621 GB, free: 17.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.448, allocations: 0 / 0.8621 GB, free: 17.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002143/1.45, allocations: 1.656 MB / 0.8637 GB, free: 16.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/1.454, allocations: 475.7 kB / 0.8642 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/1.473, allocations: 9.229 MB / 0.8732 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004622/1.478, allocations: 4.137 MB / 0.8772 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005732/1.483, allocations: 2.345 MB / 0.8795 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007951/1.484, allocations: 293.6 kB / 0.8798 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of SimCode: time 1.583e-06/1.484, allocations: 0 / 0.8798 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of Templates: time 0.3375/1.822, allocations: 34.98 MB / 0.914 GB, free: 109.2 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