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") [: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 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 175.6 kB / 8.517 MB, free: 1.859 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 221.4 MB / 230.3 MB, free: 7.754 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.0009794/0.0009794, allocations: 92.7 kB / 281.2 MB, free: 5.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1646/0.1646, allocations: 44.15 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.25e-06/5.28e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 61.91 MB / 0.4941 GB, free: 1.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2862/0.3907, allocations: 97.29 MB / 0.5891 GB, free: 15.53 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/0.3909, allocations: 76.61 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1183/0.5092, allocations: 46.71 MB / 0.6348 GB, free: 316 kB / 442.7 MB Notification: Performance of Transformations before backend: time 7.679e-05/0.5093, allocations: 44 kB / 0.6348 GB, free: 272 kB / 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.003873/0.5132, allocations: 2.323 MB / 0.6371 GB, free: 13.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.5133, allocations: 11.97 kB / 0.6371 GB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006555/0.5198, allocations: 1.42 MB / 0.6385 GB, free: 12.45 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/0.5226, allocations: 1.373 MB / 0.6398 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-05/0.5227, allocations: 76 kB / 0.6399 GB, free: 10.95 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000409/0.5231, allocations: 136 kB / 0.64 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005753/0.5289, allocations: 3.807 MB / 0.6438 GB, free: 7.008 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008331/0.5372, allocations: 6.142 MB / 0.6498 GB, free: 108 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.733e-05/0.5374, allocations: 51.52 kB / 0.6498 GB, free: 56 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003229/0.5377, allocations: 24 kB / 0.6498 GB, free: 32 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007688/0.5385, allocations: 0.7303 MB / 0.6505 GB, free: 15.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02789/0.5664, allocations: 30.77 MB / 0.6806 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002423/0.5688, allocations: 2.028 MB / 0.6826 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.57, allocations: 0.9787 MB / 0.6835 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.886e-05/0.5701, allocations: 47.77 kB / 0.6836 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.5702, allocations: 58.42 kB / 0.6836 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 3.226e-06/0.5702, allocations: 0 / 0.6836 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=117): time 0.02313/0.5933, allocations: 9.682 MB / 0.6931 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.167e-05/0.5934, allocations: 141 kB / 0.6932 GB, free: 2.266 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003184/0.5966, allocations: 2.043 MB / 0.6952 GB, free: 196 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000175/0.5968, allocations: 25.7 kB / 0.6952 GB, free: 164 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001299/0.5981, allocations: 2.023 MB / 0.6972 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004757/0.5986, allocations: 474 kB / 0.6977 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.5987, allocations: 0 / 0.6977 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003347/0.5991, allocations: 0.5361 MB / 0.6982 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001982/0.6011, allocations: 1.383 MB / 0.6995 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003951/0.605, allocations: 4.276 MB / 0.7037 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003886/0.6089, allocations: 2.631 MB / 0.7063 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.609e-05/0.609, allocations: 32 kB / 0.7063 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of matching and sorting (n=596) (initialization): time 0.1441/0.7531, allocations: 5.428 MB / 0.7116 GB, free: 210.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.7532, allocations: 3.281 kB / 0.7116 GB, free: 210.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.545e-05/0.7533, allocations: 108.6 kB / 0.7117 GB, free: 210.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.7546, allocations: 0.5394 MB / 0.7122 GB, free: 210.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003283/0.7579, allocations: 1.064 MB / 0.7133 GB, free: 210.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004882/0.7628, allocations: 3.735 MB / 0.7169 GB, free: 208.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002755/0.7655, allocations: 139 kB / 0.7171 GB, free: 208.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003657/0.7659, allocations: 308.2 kB / 0.7174 GB, free: 208.9 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.0004367/0.7663, allocations: 352.2 kB / 0.7177 GB, free: 208.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/0.7666, allocations: 205.4 kB / 0.7179 GB, free: 208.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/0.7696, allocations: 1.762 MB / 0.7196 GB, free: 208.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.611e-05/0.7697, allocations: 7.531 kB / 0.7196 GB, free: 208.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.7697, allocations: 2.719 kB / 0.7196 GB, free: 208.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.7697, allocations: 9.906 kB / 0.7196 GB, free: 208.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006955/0.7767, allocations: 4.465 MB / 0.724 GB, free: 208.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.7767, allocations: 0 / 0.724 GB, free: 208.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009159/0.7776, allocations: 180.2 kB / 0.7242 GB, free: 208.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.7786, allocations: 373.6 kB / 0.7245 GB, free: 208.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.76e-05/0.7787, allocations: 10.41 kB / 0.7245 GB, free: 208.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004312/0.7831, allocations: 3.224 MB / 0.7277 GB, free: 207.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.7831, allocations: 0 / 0.7277 GB, free: 207.2 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004516/0.7876, allocations: 3.694 MB / 0.7313 GB, free: 206.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/0.788, allocations: 256.4 kB / 0.7315 GB, free: 206.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002529/0.7883, allocations: 7.781 kB / 0.7315 GB, free: 206.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007601/0.789, allocations: 21.78 kB / 0.7316 GB, free: 206.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.7892, allocations: 57.97 kB / 0.7316 GB, free: 206.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.202e-05/0.7893, allocations: 46.14 kB / 0.7317 GB, free: 206.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001562/0.7908, allocations: 1.343 MB / 0.733 GB, free: 206.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002852/0.7937, allocations: 0.5285 MB / 0.7335 GB, free: 206.5 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 (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.0003141/0.794, allocations: 158 kB / 0.7336 GB, free: 206.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003709/0.7977, allocations: 3.348 MB / 0.7369 GB, free: 205.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7977, allocations: 2.562 kB / 0.7369 GB, free: 205.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009499/0.7987, allocations: 0.9685 MB / 0.7379 GB, free: 205.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006405/0.7994, allocations: 146.1 kB / 0.738 GB, free: 205.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006621/0.806, allocations: 4.676 MB / 0.7426 GB, free: 203.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002101/0.8081, allocations: 2.437 MB / 0.7449 GB, free: 202.8 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/0.8081, allocations: 1.031 kB / 0.7449 GB, free: 202.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.03875/0.8469, allocations: 22.34 MB / 0.7668 GB, free: 192.3 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