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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, allocations: 195.4 kB / 8.54 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.184/1.184, allocations: 225.5 MB / 234.4 MB, free: 3.453 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008753/0.0008754, allocations: 93.84 kB / 286.3 MB, free: 5.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1708/0.1708, allocations: 45.15 MB / 383.4 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.951e-06/6.041e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.08996, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2964/0.3864, allocations: 98.35 MB / 0.5998 GB, free: 4.762 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.3867, allocations: 69.16 kB / 0.5999 GB, free: 4.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1176/0.5043, allocations: 46.85 MB / 0.6456 GB, free: 12.69 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.474e-05/0.5044, allocations: 43.94 kB / 0.6457 GB, free: 12.64 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.005127/0.5096, allocations: 2.343 MB / 0.648 GB, free: 10.44 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.5096, allocations: 15.95 kB / 0.648 GB, free: 10.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006795/0.5164, allocations: 1.419 MB / 0.6494 GB, free: 9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003258/0.5197, allocations: 1.368 MB / 0.6507 GB, free: 7.855 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/0.5198, allocations: 76 kB / 0.6508 GB, free: 7.781 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004352/0.5203, allocations: 143.6 kB / 0.6509 GB, free: 7.645 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00513/0.5254, allocations: 3.812 MB / 0.6546 GB, free: 5.059 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007641/0.5331, allocations: 6.146 MB / 0.6606 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.873e-05/0.5332, allocations: 39.59 kB / 0.6607 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002859/0.5335, allocations: 24 kB / 0.6607 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000731/0.5342, allocations: 0.7381 MB / 0.6614 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02828/0.5625, allocations: 30.75 MB / 0.6915 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.5649, allocations: 2.028 MB / 0.6934 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.5661, allocations: 0.9835 MB / 0.6944 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.5662, allocations: 48.36 kB / 0.6944 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.5663, allocations: 42.5 kB / 0.6945 GB, free: 10.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.126e-06/0.5663, allocations: 0 / 0.6945 GB, free: 10.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=117): time 0.02134/0.5876, allocations: 9.697 MB / 0.704 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.5877, allocations: 149 kB / 0.7041 GB, free: 336 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/0.5906, allocations: 2.039 MB / 0.7061 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001557/0.5908, allocations: 25.7 kB / 0.7061 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.592, allocations: 2.031 MB / 0.7081 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004307/0.5925, allocations: 462.1 kB / 0.7085 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.5926, allocations: 0 / 0.7085 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000307/0.593, allocations: 0.5322 MB / 0.7091 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.5948, allocations: 1.391 MB / 0.7104 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003426/0.5983, allocations: 4.276 MB / 0.7146 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003629/0.6019, allocations: 2.632 MB / 0.7172 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.469e-05/0.6019, allocations: 28 kB / 0.7172 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of matching and sorting (n=596) (initialization): time 0.009219/0.6112, allocations: 5.432 MB / 0.7225 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6112, allocations: 12.03 kB / 0.7225 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.984e-05/0.6113, allocations: 104 kB / 0.7226 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.6127, allocations: 0.5355 MB / 0.7231 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003538/0.6162, allocations: 1.068 MB / 0.7242 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005855/0.6221, allocations: 3.742 MB / 0.7278 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003077/0.6252, allocations: 139.4 kB / 0.728 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005604/0.6258, allocations: 304 kB / 0.7282 GB, free: 5.898 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.0005942/0.6264, allocations: 359.9 kB / 0.7286 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003425/0.6267, allocations: 205.4 kB / 0.7288 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00357/0.6303, allocations: 1.758 MB / 0.7305 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.248e-05/0.6304, allocations: 8 kB / 0.7305 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.6304, allocations: 4 kB / 0.7305 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.6304, allocations: 3.984 kB / 0.7305 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0085/0.6389, allocations: 4.458 MB / 0.7349 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.6389, allocations: 0 / 0.7349 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009599/0.6399, allocations: 179.7 kB / 0.735 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/0.6411, allocations: 380.5 kB / 0.7354 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-05/0.6412, allocations: 7.984 kB / 0.7354 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005064/0.6462, allocations: 3.215 MB / 0.7385 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6463, allocations: 0 / 0.7385 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00531/0.6516, allocations: 3.706 MB / 0.7422 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004681/0.6521, allocations: 254.3 kB / 0.7424 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/0.6523, allocations: 4 kB / 0.7424 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007638/0.6531, allocations: 27.86 kB / 0.7424 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.6532, allocations: 48.42 kB / 0.7425 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.992e-05/0.6534, allocations: 47.98 kB / 0.7425 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002001/0.6554, allocations: 1.334 MB / 0.7438 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003238/0.6586, allocations: 0.5469 MB / 0.7444 GB, free: 5.09 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.0003944/0.659, allocations: 152 kB / 0.7445 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004909/0.6639, allocations: 3.351 MB / 0.7478 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.664, allocations: 4.062 kB / 0.7478 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.6652, allocations: 0.98 MB / 0.7487 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008694/0.6661, allocations: 151.6 kB / 0.7489 GB, free: 464 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1666/0.8327, allocations: 4.67 MB / 0.7535 GB, free: 220.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002238/0.8349, allocations: 2.442 MB / 0.7558 GB, free: 220.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.713e-06/0.8349, allocations: 0 / 0.7558 GB, free: 220.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.03858/0.8735, allocations: 22.32 MB / 0.7776 GB, free: 219.2 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