Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009748/0.0009748, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 221.4 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000886/0.000886, allocations: 95.66 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1694/0.1694, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.159e-05/4.162e-05, allocations: 4.219 kB / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1038, allocations: 61.92 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3468/0.4507, allocations: 98.03 MB / 0.5974 GB, free: 7.301 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/0.4509, allocations: 75.95 kB / 0.5975 GB, free: 7.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1351/0.586, allocations: 48.4 MB / 0.6448 GB, free: 6.418 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.586, allocations: 3.938 kB / 0.6448 GB, free: 6.414 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.969e-05/0.5861, allocations: 44 kB / 0.6448 GB, free: 6.371 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.004907/0.591, allocations: 2.323 MB / 0.6471 GB, free: 3.992 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.5911, allocations: 16.02 kB / 0.6471 GB, free: 3.977 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007204/0.5983, allocations: 1.767 MB / 0.6488 GB, free: 2.203 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00338/0.6017, allocations: 1.365 MB / 0.6502 GB, free: 0.793 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.6019, allocations: 180.7 kB / 0.6503 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005575/0.6025, allocations: 243.8 kB / 0.6506 GB, free: 384 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/0.6129, allocations: 6.541 MB / 0.6569 GB, free: 9.062 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.506e-05/0.613, allocations: 39.69 kB / 0.657 GB, free: 9.023 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000325/0.6134, allocations: 127.9 kB / 0.6571 GB, free: 8.898 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008379/0.6142, allocations: 0.6955 MB / 0.6578 GB, free: 8.203 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008807/0.623, allocations: 5.424 MB / 0.6631 GB, free: 2.773 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02862/0.6517, allocations: 31.82 MB / 0.6942 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004098/0.6558, allocations: 2.336 MB / 0.6964 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.657, allocations: 0.98 MB / 0.6974 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-05/0.6571, allocations: 43.83 kB / 0.6974 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.6571, allocations: 42.56 kB / 0.6975 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=96): time 5.54e-06/0.6571, allocations: 3.984 kB / 0.6975 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=115): time 0.0215/0.6786, allocations: 8.488 MB / 0.7058 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.6787, allocations: 137.1 kB / 0.7059 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/0.6818, allocations: 2.334 MB / 0.7082 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.6819, allocations: 41.7 kB / 0.7082 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001165/0.683, allocations: 2.028 MB / 0.7102 GB, free: 1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003678/0.6834, allocations: 474.1 kB / 0.7107 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.6836, allocations: 84 kB / 0.7107 GB, free: 460 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.2382/0.9218, allocations: 0.4886 MB / 0.7112 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00283/0.9246, allocations: 1.351 MB / 0.7125 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003015/0.9277, allocations: 4.113 MB / 0.7165 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003596/0.9313, allocations: 2.365 MB / 0.7189 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.945e-05/0.9314, allocations: 27.59 kB / 0.7189 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.01004/0.9415, allocations: 5.544 MB / 0.7243 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.995e-05/0.9416, allocations: 47.73 kB / 0.7243 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001647/0.9418, allocations: 97.78 kB / 0.7244 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.9431, allocations: 482.2 kB / 0.7249 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003314/0.9464, allocations: 1.018 MB / 0.7259 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004014/0.9504, allocations: 3.376 MB / 0.7292 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00347/0.9539, allocations: 238.1 kB / 0.7294 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009474/0.9549, allocations: 276.2 kB / 0.7297 GB, free: 144.8 MB / 0.5105 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 () * 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.0007927/0.9557, allocations: 449.9 kB / 0.7301 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005022/0.9562, allocations: 218.9 kB / 0.7303 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002913/0.9591, allocations: 1.468 MB / 0.7317 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.371e-05/0.9592, allocations: 13.72 kB / 0.7318 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.9592, allocations: 4.406 kB / 0.7318 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-05/0.9592, allocations: 9.656 kB / 0.7318 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008779/0.968, allocations: 4.467 MB / 0.7361 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.9681, allocations: 0 / 0.7361 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008484/0.969, allocations: 171.2 kB / 0.7363 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007584/0.9697, allocations: 322.9 kB / 0.7366 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.922e-05/0.9698, allocations: 18.83 kB / 0.7366 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002543/0.9724, allocations: 2.804 MB / 0.7394 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.9724, allocations: 3.094 kB / 0.7394 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003551/0.9759, allocations: 3.302 MB / 0.7426 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/0.9765, allocations: 286.1 kB / 0.7429 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.9767, allocations: 19.12 kB / 0.7429 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007206/0.9774, allocations: 48.56 kB / 0.7429 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.9775, allocations: 53.45 kB / 0.743 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.579e-05/0.9776, allocations: 36.23 kB / 0.743 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001891/0.9795, allocations: 1.598 MB / 0.7446 GB, free: 139 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9795, allocations: 0 / 0.7446 GB, free: 139 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003018/0.9825, allocations: 0.6273 MB / 0.7452 GB, free: 138.9 MB / 0.5105 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 () * 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.0003065/0.9828, allocations: 148.8 kB / 0.7453 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004002/0.9868, allocations: 3.293 MB / 0.7485 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.9869, allocations: 4 kB / 0.7485 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009168/0.9878, allocations: 0.9245 MB / 0.7494 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000848/0.9886, allocations: 188.7 kB / 0.7496 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008231/0.9969, allocations: 4.593 MB / 0.7541 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001642/0.9986, allocations: 2.248 MB / 0.7563 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002894/1.001, allocations: 1.412 MB / 0.7577 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/1.002, allocations: 163.4 kB / 0.7578 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of SimCode: time 7.02e-07/1.002, allocations: 0 / 0.7578 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.03257/1.034, allocations: 20.31 MB / 0.7777 GB, free: 127.5 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches