Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009753/0.0009753, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.222/1.222, allocations: 227.2 MB / 245 MB, free: 7.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008519/0.0008521, allocations: 99.86 kB / 297.3 MB, free: 6.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3046/0.3046, allocations: 45.23 MB / 394.7 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000265/0.000265, allocations: 12 kB / 468.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2954, allocations: 63.24 MB / 0.5192 GB, free: 43.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1166/0.412, allocations: 99.17 MB / 0.616 GB, free: 6.434 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.4123, allocations: 71.97 kB / 0.6161 GB, free: 6.363 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1187/0.531, allocations: 48.51 MB / 0.6635 GB, free: 5.473 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.531, allocations: 0 / 0.6635 GB, free: 5.473 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.794e-05/0.5311, allocations: 51.94 kB / 0.6635 GB, free: 5.422 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.005696/0.5368, allocations: 2.428 MB / 0.6659 GB, free: 2.934 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.5369, allocations: 12.03 kB / 0.6659 GB, free: 2.922 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006741/0.5436, allocations: 1.767 MB / 0.6676 GB, free: 1.148 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003005/0.5467, allocations: 1.377 MB / 0.669 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.5468, allocations: 180.7 kB / 0.6691 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000393/0.5472, allocations: 239.9 kB / 0.6694 GB, free: 15.31 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009185/0.5564, allocations: 6.585 MB / 0.6758 GB, free: 7.957 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.92e-05/0.5565, allocations: 47.61 kB / 0.6758 GB, free: 7.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003136/0.5568, allocations: 131.8 kB / 0.676 GB, free: 7.781 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007752/0.5576, allocations: 0.6994 MB / 0.6767 GB, free: 7.082 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008221/0.5658, allocations: 5.497 MB / 0.682 GB, free: 1.582 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.236/0.8019, allocations: 31.8 MB / 0.7131 GB, free: 89.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003743/0.8057, allocations: 2.348 MB / 0.7154 GB, free: 88.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.711e-05/0.8058, allocations: 48.66 kB / 0.7154 GB, free: 88.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.8058, allocations: 51.31 kB / 0.7155 GB, free: 88.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 3.757e-06/0.8058, allocations: 0 / 0.7155 GB, free: 88.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=115): time 0.02038/0.8262, allocations: 9.738 MB / 0.725 GB, free: 86.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.8263, allocations: 148.9 kB / 0.7251 GB, free: 86.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002574/0.8289, allocations: 2.348 MB / 0.7274 GB, free: 86.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.829, allocations: 42.97 kB / 0.7275 GB, free: 86.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008454/0.8298, allocations: 2.039 MB / 0.7294 GB, free: 85.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002848/0.8301, allocations: 461.2 kB / 0.7299 GB, free: 84.81 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.8303, allocations: 89.33 kB / 0.73 GB, free: 84.81 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.8305, allocations: 0.4893 MB / 0.7305 GB, free: 84.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.832, allocations: 1.373 MB / 0.7318 GB, free: 84.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002359/0.8344, allocations: 4.147 MB / 0.7358 GB, free: 80.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002326/0.8367, allocations: 2.371 MB / 0.7382 GB, free: 80.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.481e-05/0.8368, allocations: 29.03 kB / 0.7382 GB, free: 80.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.007282/0.8441, allocations: 5.601 MB / 0.7437 GB, free: 79.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.081e-05/0.8441, allocations: 50.09 kB / 0.7437 GB, free: 79.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/0.8443, allocations: 98.03 kB / 0.7438 GB, free: 79.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.8454, allocations: 479 kB / 0.7443 GB, free: 79.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002841/0.8482, allocations: 1.024 MB / 0.7453 GB, free: 79.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003777/0.852, allocations: 3.457 MB / 0.7486 GB, free: 77.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/0.8547, allocations: 234.6 kB / 0.7489 GB, free: 77.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004053/0.8551, allocations: 282 kB / 0.7491 GB, free: 77.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (537): * Single equations (assignments): 533 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002148/0.8572, allocations: 1.371 MB / 0.7505 GB, free: 76.65 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000543/0.8578, allocations: 224.3 kB / 0.7507 GB, free: 76.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003902/0.8617, allocations: 1.476 MB / 0.7521 GB, free: 75.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.318e-05/0.8618, allocations: 13.12 kB / 0.7521 GB, free: 75.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.8618, allocations: 7.734 kB / 0.7521 GB, free: 75.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.8618, allocations: 5.625 kB / 0.7521 GB, free: 75.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.8745, allocations: 4.473 MB / 0.7565 GB, free: 74.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.8745, allocations: 0.875 kB / 0.7565 GB, free: 74.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/0.8762, allocations: 169 kB / 0.7567 GB, free: 74.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001649/0.8778, allocations: 318.6 kB / 0.757 GB, free: 74.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.878, allocations: 18.06 kB / 0.757 GB, free: 74.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004905/0.8829, allocations: 2.881 MB / 0.7598 GB, free: 72.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.883, allocations: 6.312 kB / 0.7598 GB, free: 72.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006823/0.8898, allocations: 3.333 MB / 0.7631 GB, free: 70.69 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008664/0.8907, allocations: 282.7 kB / 0.7633 GB, free: 70.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003516/0.8911, allocations: 20.42 kB / 0.7634 GB, free: 70.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.8925, allocations: 43.84 kB / 0.7634 GB, free: 70.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/0.8927, allocations: 67.14 kB / 0.7635 GB, free: 70.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/0.8929, allocations: 31.69 kB / 0.7635 GB, free: 70.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003806/0.8967, allocations: 1.622 MB / 0.7651 GB, free: 69.83 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.41e-07/0.8967, allocations: 0 / 0.7651 GB, free: 69.83 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005457/0.9022, allocations: 0.6244 MB / 0.7657 GB, free: 69.75 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (86): * Single equations (assignments): 82 * 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%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000357/0.9026, allocations: 156.6 kB / 0.7658 GB, free: 69.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004678/0.9073, allocations: 3.344 MB / 0.7691 GB, free: 68.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9073, allocations: 2.625 kB / 0.7691 GB, free: 68.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.9085, allocations: 0.9315 MB / 0.77 GB, free: 68.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.9096, allocations: 193.3 kB / 0.7702 GB, free: 67.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009651/0.9192, allocations: 6.523 MB / 0.7766 GB, free: 64.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/0.9209, allocations: 2.244 MB / 0.7788 GB, free: 63.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002783/0.9237, allocations: 1.416 MB / 0.7801 GB, free: 63.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/0.9241, allocations: 168.8 kB / 0.7803 GB, free: 63.45 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/0.9241, allocations: 0 / 0.7803 GB, free: 63.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.02851/0.9526, allocations: 20.3 MB / 0.8001 GB, free: 58.18 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches