Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 183 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.439/1.439, allocations: 205.2 MB / 218.9 MB, free: 9.141 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.0008213/0.0008215, allocations: 87.86 kB / 267 MB, free: 9.27 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.4104/0.4104, allocations: 43.46 MB / 358.6 MB, free: 52.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.564e-05, allocations: 12 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1396, allocations: 58.84 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4335/0.5732, allocations: 106.7 MB / 0.577 GB, free: 14.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.5734, allocations: 71.97 kB / 0.577 GB, free: 14.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1897/0.7632, allocations: 76.77 MB / 0.652 GB, free: 1.027 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.7632, allocations: 0 / 0.652 GB, free: 1.027 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001329/0.7634, allocations: 68 kB / 0.6521 GB, free: 0.9609 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.006992/0.7704, allocations: 3.6 MB / 0.6556 GB, free: 13.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.7704, allocations: 8.031 kB / 0.6556 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01634/0.7868, allocations: 4.336 MB / 0.6598 GB, free: 8.949 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01257/0.7994, allocations: 4.46 MB / 0.6642 GB, free: 4.426 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002469/0.7997, allocations: 276.5 kB / 0.6645 GB, free: 4.156 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001307/0.801, allocations: 371.7 kB / 0.6648 GB, free: 3.793 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3262/1.127, allocations: 9.089 MB / 0.6737 GB, free: 92.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001929/1.127, allocations: 56.36 kB / 0.6737 GB, free: 92.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005402/1.128, allocations: 180 kB / 0.6739 GB, free: 92.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001461/1.13, allocations: 0.888 MB / 0.6748 GB, free: 92.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01478/1.144, allocations: 7.219 MB / 0.6818 GB, free: 92.06 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04109/1.185, allocations: 44.14 MB / 0.7249 GB, free: 63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007975/1.193, allocations: 3.492 MB / 0.7284 GB, free: 61.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/1.195, allocations: 1.589 MB / 0.7299 GB, free: 60.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/1.206, allocations: 7.186 MB / 0.7369 GB, free: 57.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/1.206, allocations: 49.48 kB / 0.737 GB, free: 56.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=151): time 5.38e-06/1.206, allocations: 3.5 kB / 0.737 GB, free: 56.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=188): time 0.04879/1.255, allocations: 16.25 MB / 0.7528 GB, free: 51.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/1.255, allocations: 198.3 kB / 0.753 GB, free: 51.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004534/1.26, allocations: 3.288 MB / 0.7562 GB, free: 50.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002979/1.26, allocations: 56.77 kB / 0.7563 GB, free: 50.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001511/1.261, allocations: 2.839 MB / 0.7591 GB, free: 48.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005484/1.262, allocations: 0.7131 MB / 0.7598 GB, free: 47.76 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/1.262, allocations: 120.2 kB / 0.7599 GB, free: 47.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002483/1.262, allocations: 0.5524 MB / 0.7604 GB, free: 47.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002426/1.265, allocations: 1.926 MB / 0.7623 GB, free: 46.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003774/1.269, allocations: 5.477 MB / 0.7677 GB, free: 41.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0038/1.272, allocations: 3.241 MB / 0.7708 GB, free: 39.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.396e-05/1.273, allocations: 37.44 kB / 0.7709 GB, free: 39.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=765) (initialization): time 0.01325/1.286, allocations: 8.431 MB / 0.7791 GB, free: 36.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.657e-05/1.286, allocations: 64.31 kB / 0.7791 GB, free: 36.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/1.286, allocations: 124.5 kB / 0.7793 GB, free: 36.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004542/1.291, allocations: 1.47 MB / 0.7807 GB, free: 36.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003492/1.294, allocations: 1.288 MB / 0.782 GB, free: 36.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/1.304, allocations: 8.012 MB / 0.7898 GB, free: 32.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004128/1.308, allocations: 309.5 kB / 0.7901 GB, free: 32.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005286/1.309, allocations: 358.4 kB / 0.7904 GB, free: 32.38 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 572 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (697): * Single equations (assignments): 693 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007308/1.31, allocations: 0.5513 MB / 0.791 GB, free: 31.92 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004501/1.31, allocations: 338 kB / 0.7913 GB, free: 31.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007179/1.317, allocations: 3.595 MB / 0.7948 GB, free: 30.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/1.317, allocations: 28.83 kB / 0.7948 GB, free: 30.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/1.317, allocations: 6.062 kB / 0.7948 GB, free: 30.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/1.317, allocations: 13.22 kB / 0.7948 GB, free: 30.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/1.33, allocations: 7.87 MB / 0.8025 GB, free: 26.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/1.33, allocations: 0 / 0.8025 GB, free: 26.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/1.331, allocations: 237.7 kB / 0.8027 GB, free: 26.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004092/1.335, allocations: 1.242 MB / 0.804 GB, free: 25.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/1.336, allocations: 28 kB / 0.804 GB, free: 25.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009073/1.345, allocations: 7.288 MB / 0.8111 GB, free: 19.03 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.345, allocations: 4.031 kB / 0.8111 GB, free: 19.03 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009638/1.354, allocations: 6.013 MB / 0.817 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001895/1.356, allocations: 0.6114 MB / 0.8176 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003842/1.357, allocations: 28 kB / 0.8176 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.358, allocations: 91.66 kB / 0.8177 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/1.358, allocations: 115.2 kB / 0.8178 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/1.358, allocations: 52.09 kB / 0.8179 GB, free: 13.08 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003175/1.362, allocations: 2.277 MB / 0.8201 GB, free: 11.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.362, allocations: 0 / 0.8201 GB, free: 11.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004432/1.366, allocations: 0.9719 MB / 0.821 GB, free: 10.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 126 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004062/1.366, allocations: 178.8 kB / 0.8212 GB, free: 9.957 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006757/1.373, allocations: 4.872 MB / 0.826 GB, free: 5.496 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.373, allocations: 0 / 0.826 GB, free: 5.496 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00192/1.375, allocations: 1.592 MB / 0.8275 GB, free: 4.031 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/1.377, allocations: 358.8 kB / 0.8278 GB, free: 3.719 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/1.392, allocations: 7.117 MB / 0.8348 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003129/1.395, allocations: 3.051 MB / 0.8378 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004558/1.4, allocations: 1.818 MB / 0.8396 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006385/1.401, allocations: 226.9 kB / 0.8398 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of SimCode: time 2.785e-06/1.401, allocations: 0 / 0.8398 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of Templates: time 0.3495/1.75, allocations: 35.3 MB / 0.8742 GB, free: 108.1 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches