Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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.ForceWithTwoMasses2,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.ForceWithTwoMasses2") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,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.ForceWithTwoMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009035/0.0009038, allocations: 170.9 kB / 16.76 MB, free: 5.055 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.361/1.361, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007259/0.0007259, allocations: 93.02 kB / 271.3 MB, free: 8.234 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.3542/0.3542, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.000371, allocations: 12 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1279, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.397/0.5249, allocations: 112.9 MB / 0.5902 GB, free: 5.051 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.5252, allocations: 77.19 kB / 0.5903 GB, free: 4.977 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5896/1.115, allocations: 133.8 MB / 0.7209 GB, free: 86.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.775e-06/1.115, allocations: 3.75 kB / 0.7209 GB, free: 86.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006568/1.116, allocations: 136.2 kB / 0.721 GB, free: 86.92 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: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.0257/1.141, allocations: 7.376 MB / 0.7282 GB, free: 83.99 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/1.141, allocations: 7.719 kB / 0.7282 GB, free: 83.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02398/1.165, allocations: 5.851 MB / 0.734 GB, free: 83.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01963/1.185, allocations: 8.48 MB / 0.7422 GB, free: 82.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005142/1.186, allocations: 496.5 kB / 0.7427 GB, free: 81.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003349/1.189, allocations: 0.6567 MB / 0.7434 GB, free: 81.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03526/1.224, allocations: 16.55 MB / 0.7595 GB, free: 73.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005232/1.225, allocations: 105.9 kB / 0.7596 GB, free: 73.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002557/1.227, allocations: 314.2 kB / 0.7599 GB, free: 73.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002203/1.23, allocations: 1.581 MB / 0.7615 GB, free: 72.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0286/1.258, allocations: 13.52 MB / 0.7747 GB, free: 68.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08709/1.345, allocations: 74.21 MB / 0.8471 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02304/1.368, allocations: 7.682 MB / 0.8546 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005992/1.374, allocations: 3.963 MB / 0.8585 GB, free: 184 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2912/1.666, allocations: 18.45 MB / 0.8765 GB, free: 90.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/1.666, allocations: 69.42 kB / 0.8766 GB, free: 90.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=281): time 5.631e-06/1.666, allocations: 0 / 0.8766 GB, free: 90.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=363): time 0.1455/1.811, allocations: 48.16 MB / 0.9236 GB, free: 82.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/1.811, allocations: 278.5 kB / 0.9239 GB, free: 81.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008977/1.82, allocations: 6.089 MB / 0.9298 GB, free: 79.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008569/1.821, allocations: 83.89 kB / 0.9299 GB, free: 79.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003015/1.824, allocations: 4.774 MB / 0.9346 GB, free: 76.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00149/1.826, allocations: 1.338 MB / 0.9359 GB, free: 75.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000451/1.826, allocations: 181.4 kB / 0.9361 GB, free: 74.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000396/1.827, allocations: 0.6981 MB / 0.9367 GB, free: 74.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004748/1.831, allocations: 3.75 MB / 0.9404 GB, free: 73.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006838/1.838, allocations: 8.978 MB / 0.9492 GB, free: 64.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01564/1.854, allocations: 13.79 MB / 0.9626 GB, free: 54.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001571/1.854, allocations: 53.56 kB / 0.9627 GB, free: 54.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1201) (initialization): time 0.03074/1.885, allocations: 16.11 MB / 0.9784 GB, free: 46.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/1.885, allocations: 80 kB / 0.9785 GB, free: 46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001763/1.885, allocations: 184 kB / 0.9787 GB, free: 45.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01192/1.897, allocations: 4.058 MB / 0.9826 GB, free: 43.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007146/1.904, allocations: 2.031 MB / 0.9846 GB, free: 41.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02685/1.931, allocations: 21.01 MB / 1.005 GB, free: 23.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008633/1.94, allocations: 0.5466 MB / 1.006 GB, free: 22.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001907/1.942, allocations: 0.5265 MB / 1.006 GB, free: 22.33 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (1081): * Single equations (assignments): 1076 * 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%) 45,(4,62.5%) 48} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006755/1.949, allocations: 3.12 MB / 1.009 GB, free: 19.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001299/1.95, allocations: 0.5786 MB / 1.01 GB, free: 19.01 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01897/1.969, allocations: 9.544 MB / 1.019 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.415e-05/1.969, allocations: 36 kB / 1.019 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.411e-05/1.969, allocations: 20 kB / 1.019 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.891e-05/1.969, allocations: 26.53 kB / 1.019 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03838/2.008, allocations: 18.99 MB / 1.038 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-05/2.008, allocations: 4 kB / 1.038 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002811/2.01, allocations: 0.4953 MB / 1.038 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01322/2.024, allocations: 3.676 MB / 1.042 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008926/2.025, allocations: 67.92 kB / 1.042 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2609/2.286, allocations: 18.9 MB / 1.06 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/2.286, allocations: 0 / 1.06 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02429/2.31, allocations: 13.95 MB / 1.074 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002784/2.313, allocations: 1.116 MB / 1.075 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007992/2.314, allocations: 58.41 kB / 1.075 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002738/2.316, allocations: 232.4 kB / 1.075 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008233/2.317, allocations: 224.3 kB / 1.076 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002577/2.317, allocations: 90.12 kB / 1.076 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005917/2.323, allocations: 3.806 MB / 1.079 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3e-07/2.323, allocations: 0 / 1.079 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008134/2.331, allocations: 1.844 MB / 1.081 GB, free: 111.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (263): * Single equations (assignments): 258 * 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 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007459/2.332, allocations: 222.8 kB / 1.081 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0163/2.349, allocations: 9.562 MB / 1.091 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.006e-06/2.349, allocations: 1.188 kB / 1.091 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005755/2.354, allocations: 3.75 MB / 1.094 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00515/2.36, allocations: 0.7607 MB / 1.095 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02814/2.388, allocations: 18.42 MB / 1.113 GB, free: 97.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008109/2.396, allocations: 4.864 MB / 1.118 GB, free: 96.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007577/2.403, allocations: 2.801 MB / 1.121 GB, free: 96.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/2.405, allocations: 377.4 kB / 1.121 GB, free: 96.01 MB / 0.5261 GB Notification: Performance of SimCode: time 8.72e-07/2.405, allocations: 0 / 1.121 GB, free: 96.01 MB / 0.5261 GB Notification: Performance of Templates: time 0.1139/2.519, allocations: 75.11 MB / 1.194 GB, free: 54.75 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses2/ForceWithTwoMasses2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches