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.001766/0.001766, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 226.5 MB / 245.4 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009147/0.0009146, allocations: 93.28 kB / 297.4 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3534/0.3534, allocations: 44.82 MB / 394.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000282/0.000282, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3381, allocations: 62.95 MB / 0.5184 GB, free: 37.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.4735, allocations: 99.09 MB / 0.6152 GB, free: 6.195 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.4738, allocations: 83.95 kB / 0.6153 GB, free: 6.117 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1258/0.5997, allocations: 48.09 MB / 0.6622 GB, free: 5.598 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5998, allocations: 0 / 0.6622 GB, free: 5.598 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001159/0.5999, allocations: 55.88 kB / 0.6623 GB, free: 5.543 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.008056/0.6079, allocations: 2.342 MB / 0.6646 GB, free: 3.137 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.608, allocations: 8.031 kB / 0.6646 GB, free: 3.129 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007312/0.6153, allocations: 1.776 MB / 0.6663 GB, free: 1.348 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003584/0.6189, allocations: 1.382 MB / 0.6677 GB, free: 15.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.6192, allocations: 185.1 kB / 0.6678 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001132/0.6203, allocations: 240.3 kB / 0.6681 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01319/0.6335, allocations: 6.569 MB / 0.6745 GB, free: 8.164 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001635/0.6337, allocations: 47.66 kB / 0.6745 GB, free: 8.117 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007998/0.6346, allocations: 127.8 kB / 0.6746 GB, free: 7.992 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009305/0.6355, allocations: 0.6916 MB / 0.6753 GB, free: 7.305 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00954/0.6451, allocations: 5.466 MB / 0.6807 GB, free: 1.828 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3193/0.9644, allocations: 31.81 MB / 0.7117 GB, free: 84.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004365/0.9688, allocations: 2.322 MB / 0.714 GB, free: 83.63 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.9701, allocations: 0.9715 MB / 0.7149 GB, free: 83.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.9702, allocations: 46.12 kB / 0.715 GB, free: 83.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.9703, allocations: 44.95 kB / 0.715 GB, free: 83.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.947e-06/0.9703, allocations: 0 / 0.715 GB, free: 83.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=115): time 0.0224/0.9927, allocations: 9.332 MB / 0.7241 GB, free: 81.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.9928, allocations: 145.1 kB / 0.7243 GB, free: 81.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003957/0.9968, allocations: 2.627 MB / 0.7268 GB, free: 80.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001469/0.9969, allocations: 40.8 kB / 0.7269 GB, free: 80.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.9982, allocations: 2.027 MB / 0.7289 GB, free: 78.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004449/0.9987, allocations: 471.3 kB / 0.7293 GB, free: 78.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.9988, allocations: 87.73 kB / 0.7294 GB, free: 78.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002668/0.9991, allocations: 499.9 kB / 0.7299 GB, free: 77.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/1.001, allocations: 1.373 MB / 0.7312 GB, free: 77.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003509/1.005, allocations: 4.157 MB / 0.7353 GB, free: 73.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007186/1.012, allocations: 6.06 MB / 0.7412 GB, free: 68.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001244/1.012, allocations: 33.73 kB / 0.7412 GB, free: 68.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=570) (initialization): time 0.01008/1.022, allocations: 5.612 MB / 0.7467 GB, free: 66.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.3e-05/1.022, allocations: 49.19 kB / 0.7467 GB, free: 66.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.262e-05/1.022, allocations: 98.16 kB / 0.7468 GB, free: 66.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009461/1.023, allocations: 459 kB / 0.7473 GB, free: 65.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/1.026, allocations: 1.028 MB / 0.7483 GB, free: 65.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003365/1.03, allocations: 3.381 MB / 0.7516 GB, free: 63.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003357/1.033, allocations: 235.7 kB / 0.7518 GB, free: 63.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004703/1.033, allocations: 280.7 kB / 0.7521 GB, free: 63.58 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.002217/1.036, allocations: 1.381 MB / 0.7534 GB, free: 62.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004174/1.036, allocations: 214.3 kB / 0.7536 GB, free: 62.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/1.038, allocations: 1.483 MB / 0.7551 GB, free: 62.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-05/1.038, allocations: 15.61 kB / 0.7551 GB, free: 62.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/1.039, allocations: 3.719 kB / 0.7551 GB, free: 62.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/1.039, allocations: 6.281 kB / 0.7551 GB, free: 62.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007113/1.046, allocations: 4.486 MB / 0.7595 GB, free: 60.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/1.046, allocations: 0 / 0.7595 GB, free: 60.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007945/1.046, allocations: 173 kB / 0.7596 GB, free: 60.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007598/1.047, allocations: 315.3 kB / 0.7599 GB, free: 60.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.005e-05/1.047, allocations: 15.72 kB / 0.76 GB, free: 60.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002444/1.05, allocations: 2.81 MB / 0.7627 GB, free: 58.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.05, allocations: 1.719 kB / 0.7627 GB, free: 58.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00379/1.054, allocations: 3.269 MB / 0.7659 GB, free: 57.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000569/1.054, allocations: 294.8 kB / 0.7662 GB, free: 56.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/1.054, allocations: 19.12 kB / 0.7662 GB, free: 56.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007322/1.055, allocations: 48.11 kB / 0.7662 GB, free: 56.78 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/1.055, allocations: 63.59 kB / 0.7663 GB, free: 56.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.262e-05/1.055, allocations: 33.83 kB / 0.7663 GB, free: 56.76 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002261/1.058, allocations: 1.617 MB / 0.7679 GB, free: 56.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.058, allocations: 0 / 0.7679 GB, free: 56.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003466/1.061, allocations: 0.621 MB / 0.7685 GB, free: 56.1 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.0003084/1.061, allocations: 155.7 kB / 0.7687 GB, free: 55.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004107/1.066, allocations: 3.336 MB / 0.7719 GB, free: 54.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.066, allocations: 0.5625 kB / 0.7719 GB, free: 54.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000975/1.067, allocations: 0.9356 MB / 0.7728 GB, free: 54.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/1.068, allocations: 198.3 kB / 0.773 GB, free: 54.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009093/1.077, allocations: 6.558 MB / 0.7794 GB, free: 49.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001969/1.079, allocations: 2.197 MB / 0.7816 GB, free: 48.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003493/1.083, allocations: 1.415 MB / 0.783 GB, free: 47.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005366/1.083, allocations: 162.6 kB / 0.7831 GB, free: 47.14 MB / 490.7 MB Notification: Performance of SimCode: time 1.723e-06/1.083, allocations: 0 / 0.7831 GB, free: 47.14 MB / 490.7 MB Notification: Performance of Templates: time 0.03381/1.117, allocations: 20.3 MB / 0.8029 GB, free: 30.97 MB / 490.7 MB 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/jenkins1/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