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.001252/0.001252, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.37/1.37, 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.0008469/0.0008473, allocations: 90.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.1978/0.1978, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003126, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1158, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4065/0.5224, allocations: 106.8 MB / 0.583 GB, free: 9.348 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.5226, allocations: 75.84 kB / 0.5831 GB, free: 9.309 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2011/0.7238, allocations: 76.74 MB / 0.658 GB, free: 4.457 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.741e-06/0.7238, allocations: 4 kB / 0.658 GB, free: 4.453 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001998/0.724, allocations: 68 kB / 0.6581 GB, free: 4.387 MB / 458.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.01451/0.7386, allocations: 3.852 MB / 0.6619 GB, free: 480 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.7386, allocations: 11.97 kB / 0.6619 GB, free: 468 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0175/0.7561, allocations: 4.328 MB / 0.6661 GB, free: 12.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01391/0.7701, allocations: 4.503 MB / 0.6705 GB, free: 7.551 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002945/0.7705, allocations: 279.1 kB / 0.6708 GB, free: 7.277 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001984/0.7725, allocations: 359.8 kB / 0.6711 GB, free: 6.926 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02047/0.7929, allocations: 9.164 MB / 0.68 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002018/0.7932, allocations: 59.47 kB / 0.6801 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006501/0.7939, allocations: 183.9 kB / 0.6803 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001207/0.7951, allocations: 0.8843 MB / 0.6811 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01558/0.8107, allocations: 7.322 MB / 0.6883 GB, free: 4.293 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3849/1.196, allocations: 44.14 MB / 0.7314 GB, free: 95.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/1.206, allocations: 3.51 MB / 0.7348 GB, free: 94.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01416/1.22, allocations: 7.185 MB / 0.7418 GB, free: 92.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/1.22, allocations: 51.97 kB / 0.7419 GB, free: 92.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=151): time 7.143e-06/1.22, allocations: 1.25 kB / 0.7419 GB, free: 92.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=188): time 0.0677/1.288, allocations: 19.4 MB / 0.7608 GB, free: 89.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.288, allocations: 198.1 kB / 0.761 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007003/1.295, allocations: 3.326 MB / 0.7643 GB, free: 89.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004035/1.296, allocations: 52.48 kB / 0.7643 GB, free: 89.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002334/1.298, allocations: 2.833 MB / 0.7671 GB, free: 87.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001098/1.299, allocations: 0.7193 MB / 0.7678 GB, free: 87.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005997/1.3, allocations: 116.2 kB / 0.7679 GB, free: 87.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004782/1.3, allocations: 0.5507 MB / 0.7684 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003528/1.304, allocations: 1.981 MB / 0.7704 GB, free: 86.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005076/1.309, allocations: 5.527 MB / 0.7758 GB, free: 81.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004776/1.314, allocations: 3.255 MB / 0.779 GB, free: 79.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001419/1.314, allocations: 34.97 kB / 0.779 GB, free: 79.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=765) (initialization): time 0.01811/1.332, allocations: 8.563 MB / 0.7873 GB, free: 77.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001781/1.332, allocations: 63.77 kB / 0.7874 GB, free: 77.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002703/1.333, allocations: 125.2 kB / 0.7875 GB, free: 77.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005512/1.338, allocations: 1.507 MB / 0.789 GB, free: 76.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004443/1.343, allocations: 1.286 MB / 0.7903 GB, free: 76.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/1.356, allocations: 8.404 MB / 0.7985 GB, free: 72.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005895/1.362, allocations: 308.7 kB / 0.7988 GB, free: 72.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001457/1.363, allocations: 356.2 kB / 0.7991 GB, free: 72.59 MB / 0.4948 GB 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 () * Number of clocked 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.005501/1.369, allocations: 1.9 MB / 0.801 GB, free: 71.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/1.37, allocations: 332.6 kB / 0.8013 GB, free: 71.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009697/1.38, allocations: 3.669 MB / 0.8049 GB, free: 70.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.643e-05/1.38, allocations: 20 kB / 0.8049 GB, free: 70.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.143e-05/1.38, allocations: 12 kB / 0.8049 GB, free: 70.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/1.38, allocations: 7.312 kB / 0.8049 GB, free: 70.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0205/1.4, allocations: 7.96 MB / 0.8127 GB, free: 63.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/1.4, allocations: 4 kB / 0.8127 GB, free: 63.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/1.402, allocations: 241.2 kB / 0.8129 GB, free: 63.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004994/1.407, allocations: 1.274 MB / 0.8141 GB, free: 62.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002187/1.407, allocations: 29.09 kB / 0.8142 GB, free: 62.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/1.418, allocations: 7.673 MB / 0.8217 GB, free: 56.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.418, allocations: 3.953 kB / 0.8217 GB, free: 56.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/1.429, allocations: 6.122 MB / 0.8276 GB, free: 50.85 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002085/1.431, allocations: 0.6046 MB / 0.8282 GB, free: 50.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008993/1.432, allocations: 28 kB / 0.8283 GB, free: 50.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/1.434, allocations: 90.22 kB / 0.8283 GB, free: 50.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003382/1.434, allocations: 110.3 kB / 0.8285 GB, free: 50.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/1.434, allocations: 48.06 kB / 0.8285 GB, free: 50.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005492/1.44, allocations: 2.311 MB / 0.8308 GB, free: 48.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/1.44, allocations: 3.844 kB / 0.8308 GB, free: 48.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00733/1.447, allocations: 0.9695 MB / 0.8317 GB, free: 47.22 MB / 0.4948 GB 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 () * Number of clocked 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.00056/1.448, allocations: 177 kB / 0.8319 GB, free: 47.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008094/1.456, allocations: 4.962 MB / 0.8367 GB, free: 42.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.456, allocations: 1.094 kB / 0.8367 GB, free: 42.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002143/1.458, allocations: 1.624 MB / 0.8383 GB, free: 41.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/1.46, allocations: 370.1 kB / 0.8387 GB, free: 40.92 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0173/1.477, allocations: 9.721 MB / 0.8482 GB, free: 31.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005274/1.483, allocations: 3.057 MB / 0.8511 GB, free: 28.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005688/1.489, allocations: 1.822 MB / 0.8529 GB, free: 26.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009153/1.489, allocations: 223.4 kB / 0.8531 GB, free: 26.66 MB / 0.4948 GB Notification: Performance of SimCode: time 1.733e-06/1.489, allocations: 0 / 0.8531 GB, free: 26.66 MB / 0.4948 GB Notification: Performance of Templates: time 0.07109/1.561, allocations: 35.41 MB / 0.8877 GB, free: 7.836 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