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.00161/0.00161, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 225.6 MB / 234.8 MB, free: 3.32 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008509/0.0008508, allocations: 101 kB / 286.7 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1851/0.1851, allocations: 45.15 MB / 383.8 MB, free: 324 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.273e-05/1.274e-05, allocations: 0 / 453.2 MB, free: 75.86 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1015, allocations: 63.25 MB / 0.5044 GB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3574/0.4589, allocations: 98.43 MB / 0.6005 GB, free: 4.379 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.4591, allocations: 77.83 kB / 0.6006 GB, free: 4.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1145/0.5736, allocations: 47.51 MB / 0.647 GB, free: 11.67 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5736, allocations: 0 / 0.647 GB, free: 11.67 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.384e-05/0.5737, allocations: 48 kB / 0.647 GB, free: 11.62 MB / 442.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.003663/0.5774, allocations: 2.348 MB / 0.6493 GB, free: 9.414 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.5774, allocations: 12.03 kB / 0.6493 GB, free: 9.402 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006588/0.584, allocations: 1.774 MB / 0.651 GB, free: 7.625 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.5861, allocations: 1.367 MB / 0.6524 GB, free: 6.484 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-05/0.5862, allocations: 76 kB / 0.6524 GB, free: 6.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003378/0.5866, allocations: 143.8 kB / 0.6526 GB, free: 6.273 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004393/0.591, allocations: 3.727 MB / 0.6562 GB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006705/0.5977, allocations: 6.076 MB / 0.6622 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-05/0.5978, allocations: 39.62 kB / 0.6622 GB, free: 12.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002593/0.598, allocations: 27.95 kB / 0.6622 GB, free: 12.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007723/0.5988, allocations: 0.6956 MB / 0.6629 GB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02601/0.6248, allocations: 30.45 MB / 0.6926 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/0.6271, allocations: 1.992 MB / 0.6946 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009927/0.6281, allocations: 0.9522 MB / 0.6955 GB, free: 9.469 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.842e-05/0.6282, allocations: 52.3 kB / 0.6956 GB, free: 9.418 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.6282, allocations: 46.56 kB / 0.6956 GB, free: 9.363 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 4.067e-06/0.6283, allocations: 0 / 0.6956 GB, free: 9.363 MB / 490.7 MB Notification: Performance of matching and sorting (n=117): time 0.01574/0.644, allocations: 8.406 MB / 0.7038 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.849e-05/0.6441, allocations: 141.1 kB / 0.704 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00257/0.6467, allocations: 2.019 MB / 0.7059 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.6468, allocations: 25.7 kB / 0.7059 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001192/0.648, allocations: 2.082 MB / 0.708 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003956/0.6484, allocations: 470.1 kB / 0.7084 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.6486, allocations: 0 / 0.7084 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003085/0.6489, allocations: 0.5321 MB / 0.7089 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/0.6506, allocations: 1.313 MB / 0.7102 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003517/0.6541, allocations: 4.198 MB / 0.7143 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003163/0.6573, allocations: 2.353 MB / 0.7166 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.662e-05/0.6573, allocations: 28.19 kB / 0.7167 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of matching and sorting (n=596) (initialization): time 0.00787/0.6652, allocations: 5.095 MB / 0.7216 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.742e-05/0.6653, allocations: 48 kB / 0.7217 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.875e-05/0.6654, allocations: 104.1 kB / 0.7218 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009855/0.6664, allocations: 472.5 kB / 0.7222 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00288/0.6693, allocations: 1.064 MB / 0.7233 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003371/0.6727, allocations: 3.165 MB / 0.7264 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/0.675, allocations: 151.5 kB / 0.7265 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003269/0.6753, allocations: 288 kB / 0.7268 GB, free: 7.594 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * 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 (563): * Single equations (assignments): 559 * 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.0004361/0.6757, allocations: 360.7 kB / 0.7271 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/0.676, allocations: 201.4 kB / 0.7273 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.6784, allocations: 1.413 MB / 0.7287 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/0.6784, allocations: 12 kB / 0.7287 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.6784, allocations: 8 kB / 0.7287 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.6785, allocations: 3.984 kB / 0.7287 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006399/0.6849, allocations: 4.009 MB / 0.7326 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.6849, allocations: 0 / 0.7326 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008507/0.6857, allocations: 179.7 kB / 0.7328 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008029/0.6866, allocations: 304.6 kB / 0.7331 GB, free: 1.035 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/0.6866, allocations: 7.984 kB / 0.7331 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002767/0.6894, allocations: 2.623 MB / 0.7357 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6894, allocations: 0 / 0.7357 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004026/0.6934, allocations: 3.244 MB / 0.7388 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000413/0.6939, allocations: 254.7 kB / 0.7391 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.6941, allocations: 8.062 kB / 0.7391 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007936/0.6949, allocations: 31.94 kB / 0.7391 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.695, allocations: 68.36 kB / 0.7392 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.139e-05/0.6951, allocations: 28 kB / 0.7392 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00183/0.697, allocations: 1.31 MB / 0.7405 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.01e-07/0.697, allocations: 0 / 0.7405 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002922/0.6999, allocations: 0.5312 MB / 0.741 GB, free: 8.738 MB / 0.5261 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 (88): * Single equations (assignments): 84 * 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.0003173/0.7002, allocations: 148.2 kB / 0.7411 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004105/0.7043, allocations: 3.153 MB / 0.7442 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.7044, allocations: 1.938 kB / 0.7442 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.7054, allocations: 0.8961 MB / 0.7451 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006533/0.706, allocations: 147.3 kB / 0.7452 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2436/0.9496, allocations: 4.556 MB / 0.7497 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003045/0.9527, allocations: 2.24 MB / 0.7519 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00385/0.9566, allocations: 1.462 MB / 0.7533 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005066/0.9571, allocations: 155.7 kB / 0.7535 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of SimCode: time 2.445e-06/0.9571, allocations: 3.875 kB / 0.7535 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.04709/1.004, allocations: 18.1 MB / 0.7711 GB, free: 156.3 MB / 0.5261 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