Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001018/0.001018, allocations: 189.5 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 226.5 MB / 244.1 MB, free: 8.105 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007226/0.0007226, allocations: 100.7 kB / 296.1 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3093/0.3093, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002545/0.0002545, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2962, allocations: 62.95 MB / 0.5165 GB, free: 37.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1155/0.4117, allocations: 99.09 MB / 0.6132 GB, free: 6.273 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.412, allocations: 79.95 kB / 0.6133 GB, free: 6.195 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1197/0.5317, allocations: 48.08 MB / 0.6603 GB, free: 5.684 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5318, allocations: 0 / 0.6603 GB, free: 5.684 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001236/0.5319, allocations: 51.94 kB / 0.6603 GB, free: 5.633 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.006978/0.5389, allocations: 2.346 MB / 0.6626 GB, free: 3.223 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.539, allocations: 8.031 kB / 0.6626 GB, free: 3.215 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00755/0.5465, allocations: 1.772 MB / 0.6643 GB, free: 1.438 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003801/0.5504, allocations: 1.382 MB / 0.6657 GB, free: 8 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.5506, allocations: 185.1 kB / 0.6659 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/0.5518, allocations: 240.3 kB / 0.6661 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01296/0.5648, allocations: 6.569 MB / 0.6725 GB, free: 8.254 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001676/0.565, allocations: 51.66 kB / 0.6726 GB, free: 8.203 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007458/0.5657, allocations: 127.8 kB / 0.6727 GB, free: 8.078 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000995/0.5668, allocations: 0.7033 MB / 0.6734 GB, free: 7.379 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00973/0.5765, allocations: 5.458 MB / 0.6787 GB, free: 1.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2506/0.8272, allocations: 31.8 MB / 0.7098 GB, free: 83.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003426/0.8306, allocations: 2.323 MB / 0.712 GB, free: 83.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008804/0.8315, allocations: 0.976 MB / 0.713 GB, free: 83.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-05/0.8316, allocations: 49.53 kB / 0.713 GB, free: 83.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.8317, allocations: 42.59 kB / 0.7131 GB, free: 83.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.086e-06/0.8317, allocations: 2.969 kB / 0.7131 GB, free: 83.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=115): time 0.02006/0.8517, allocations: 9.33 MB / 0.7222 GB, free: 80.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.8518, allocations: 149.1 kB / 0.7223 GB, free: 80.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003379/0.8552, allocations: 2.626 MB / 0.7249 GB, free: 79.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.8553, allocations: 42.77 kB / 0.7249 GB, free: 79.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001056/0.8564, allocations: 2.029 MB / 0.7269 GB, free: 78.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/0.8567, allocations: 468.5 kB / 0.7274 GB, free: 78.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.8569, allocations: 86.27 kB / 0.7274 GB, free: 78.03 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.8571, allocations: 498.9 kB / 0.7279 GB, free: 77.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00206/0.8592, allocations: 1.373 MB / 0.7293 GB, free: 77.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003282/0.8625, allocations: 4.157 MB / 0.7333 GB, free: 73.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005988/0.8685, allocations: 6.068 MB / 0.7392 GB, free: 67.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001196/0.8686, allocations: 28.62 kB / 0.7393 GB, free: 67.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=570) (initialization): time 0.008582/0.8772, allocations: 5.61 MB / 0.7447 GB, free: 65.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.253e-05/0.8773, allocations: 47.66 kB / 0.7448 GB, free: 65.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.879e-05/0.8774, allocations: 98.44 kB / 0.7449 GB, free: 65.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009491/0.8784, allocations: 459.6 kB / 0.7453 GB, free: 65.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/0.8809, allocations: 1.026 MB / 0.7463 GB, free: 65.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/0.8839, allocations: 3.384 MB / 0.7496 GB, free: 63.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002623/0.8865, allocations: 231.6 kB / 0.7499 GB, free: 63.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003172/0.8869, allocations: 282 kB / 0.7501 GB, free: 63.29 MB / 490.7 MB 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.001649/0.8885, allocations: 1.381 MB / 0.7515 GB, free: 62.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003191/0.8889, allocations: 214.3 kB / 0.7517 GB, free: 62.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.8911, allocations: 1.489 MB / 0.7531 GB, free: 61.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/0.8912, allocations: 11.16 kB / 0.7531 GB, free: 61.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.8912, allocations: 3.969 kB / 0.7531 GB, free: 61.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.8912, allocations: 6.516 kB / 0.7531 GB, free: 61.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006451/0.8977, allocations: 4.486 MB / 0.7575 GB, free: 60.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.8977, allocations: 0 / 0.7575 GB, free: 60.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007775/0.8985, allocations: 173.8 kB / 0.7577 GB, free: 60.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007325/0.8992, allocations: 314.6 kB / 0.758 GB, free: 60.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-05/0.8993, allocations: 19.38 kB / 0.758 GB, free: 60.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/0.9017, allocations: 2.807 MB / 0.7608 GB, free: 58.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9017, allocations: 0 / 0.7608 GB, free: 58.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003631/0.9053, allocations: 3.276 MB / 0.764 GB, free: 56.74 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005259/0.9059, allocations: 284.9 kB / 0.7642 GB, free: 56.51 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.9061, allocations: 19.06 kB / 0.7642 GB, free: 56.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007185/0.9068, allocations: 43.64 kB / 0.7643 GB, free: 56.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.9069, allocations: 62.53 kB / 0.7643 GB, free: 56.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.066e-05/0.907, allocations: 30.62 kB / 0.7644 GB, free: 56.47 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00203/0.9091, allocations: 1.618 MB / 0.766 GB, free: 55.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.9091, allocations: 8 kB / 0.766 GB, free: 55.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003006/0.9121, allocations: 0.6302 MB / 0.7666 GB, free: 55.8 MB / 490.7 MB 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.0003052/0.9124, allocations: 145.7 kB / 0.7667 GB, free: 55.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004227/0.9166, allocations: 3.336 MB / 0.77 GB, free: 54.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.9167, allocations: 0 / 0.77 GB, free: 54.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000955/0.9176, allocations: 0.9276 MB / 0.7709 GB, free: 54.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.9192, allocations: 213.1 kB / 0.7711 GB, free: 53.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007931/0.9271, allocations: 6.858 MB / 0.7778 GB, free: 49.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/0.9287, allocations: 2.195 MB / 0.7799 GB, free: 48.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005742/0.9293, allocations: 198.1 kB / 0.7801 GB, free: 47.99 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.9293, allocations: 0 / 0.7801 GB, free: 47.99 MB / 490.7 MB Notification: Performance of Templates: time 0.0494/0.9787, allocations: 46.29 MB / 0.8253 GB, free: 6.09 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches