Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic") [: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 3.2.2+maint.om/package.mo): time 0.003412/0.003412, allocations: 182.7 kB / 7.458 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.214/1.214, allocations: 194.2 MB / 202.1 MB, free: 8.723 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001684/0.001684, allocations: 119.6 kB / 247.1 MB, free: 6.312 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1901/0.1901, allocations: 39.94 MB / 331.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.173e-06/7.213e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09397/0.094, allocations: 54.86 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3518/0.4459, allocations: 94.65 MB / 0.5296 GB, free: 5.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.4462, allocations: 76.64 kB / 0.5297 GB, free: 5.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2187/0.6649, allocations: 82.07 MB / 0.6098 GB, free: 11.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002149/0.6652, allocations: 68 kB / 0.6099 GB, free: 11.51 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.01319/0.6784, allocations: 3.46 MB / 0.6132 GB, free: 7.988 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/0.6785, allocations: 8.031 kB / 0.6133 GB, free: 7.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/0.6939, allocations: 2.798 MB / 0.616 GB, free: 5.172 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01344/0.7074, allocations: 4.237 MB / 0.6201 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/0.7077, allocations: 124 kB / 0.6202 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002553/0.7103, allocations: 228 kB / 0.6205 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0147/0.725, allocations: 7.2 MB / 0.6275 GB, free: 9.332 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02422/0.7493, allocations: 9.376 MB / 0.6367 GB, free: 15.51 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001995/0.7495, allocations: 19.81 kB / 0.6367 GB, free: 15.49 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001784/0.7513, allocations: 16 kB / 0.6367 GB, free: 15.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001927/0.7533, allocations: 1.23 MB / 0.6379 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2246/0.9779, allocations: 29.98 MB / 0.6672 GB, free: 163.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/0.9802, allocations: 1.552 MB / 0.6687 GB, free: 163.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.9813, allocations: 1.059 MB / 0.6697 GB, free: 163.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008078/0.9894, allocations: 6.476 MB / 0.676 GB, free: 160.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.9894, allocations: 46.11 kB / 0.6761 GB, free: 160.1 MB / 474.7 MB Notification: Performance of pre-optimization done (n=154): time 4.609e-06/0.9894, allocations: 0 / 0.6761 GB, free: 160.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=160): time 0.01329/1.003, allocations: 6.984 MB / 0.6829 GB, free: 159.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/1.003, allocations: 64.78 kB / 0.683 GB, free: 159.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003277/1.006, allocations: 2.483 MB / 0.6854 GB, free: 158.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.301e-05/1.006, allocations: 25.7 kB / 0.6854 GB, free: 158.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001131/1.007, allocations: 2.821 MB / 0.6882 GB, free: 157.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003913/1.008, allocations: 0.6038 MB / 0.6888 GB, free: 156.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/1.008, allocations: 3.281 kB / 0.6888 GB, free: 156.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002576/1.008, allocations: 0.5862 MB / 0.6893 GB, free: 156.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001672/1.01, allocations: 1.557 MB / 0.6908 GB, free: 156.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002662/1.013, allocations: 4.675 MB / 0.6954 GB, free: 152.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002953/1.015, allocations: 2.789 MB / 0.6981 GB, free: 152.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.32e-05/1.016, allocations: 34.12 kB / 0.6982 GB, free: 152.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.007001/1.023, allocations: 5.607 MB / 0.7036 GB, free: 152 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.023, allocations: 7.719 kB / 0.7037 GB, free: 152 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.053e-05/1.023, allocations: 108.8 kB / 0.7038 GB, free: 152 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002857/1.023, allocations: 207.1 kB / 0.704 GB, free: 152 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003031/1.026, allocations: 1.169 MB / 0.7051 GB, free: 151.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/1.027, allocations: 1.595 MB / 0.7067 GB, free: 150.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003056/1.03, allocations: 121.8 kB / 0.7068 GB, free: 150.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004055/1.031, allocations: 318.8 kB / 0.7071 GB, free: 150.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 509 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (648): * Single equations (assignments): 641 * Array equations: 6 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005525/1.031, allocations: 388.6 kB / 0.7074 GB, free: 150.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/1.031, allocations: 248.9 kB / 0.7077 GB, free: 150.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000613/1.032, allocations: 314.4 kB / 0.708 GB, free: 150.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.036e-05/1.032, allocations: 14.72 kB / 0.708 GB, free: 150.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.513e-05/1.032, allocations: 0 / 0.708 GB, free: 150.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/1.032, allocations: 9.938 kB / 0.708 GB, free: 150.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007837/1.04, allocations: 5.221 MB / 0.7131 GB, free: 149.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/1.04, allocations: 3.938 kB / 0.7131 GB, free: 149.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000825/1.041, allocations: 183.9 kB / 0.7133 GB, free: 149.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001409/1.041, allocations: 45.33 kB / 0.7133 GB, free: 149.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-05/1.041, allocations: 14.62 kB / 0.7133 GB, free: 149.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009227/1.042, allocations: 1.399 MB / 0.7147 GB, free: 148.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.042, allocations: 15 kB / 0.7147 GB, free: 148.4 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003557/1.046, allocations: 3.702 MB / 0.7183 GB, free: 147.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/1.047, allocations: 493.9 kB / 0.7188 GB, free: 147.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003369/1.047, allocations: 7.719 kB / 0.7188 GB, free: 147.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007315/1.048, allocations: 19.12 kB / 0.7188 GB, free: 147.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/1.048, allocations: 64.2 kB / 0.7189 GB, free: 147.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.301e-05/1.048, allocations: 46.2 kB / 0.7189 GB, free: 147.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002667/1.051, allocations: 1.636 MB / 0.7205 GB, free: 146.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004258/1.055, allocations: 0.7144 MB / 0.7212 GB, free: 146.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 104 * Array equations: 6 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003152/1.055, allocations: 140.7 kB / 0.7214 GB, free: 146.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005179/1.061, allocations: 3.706 MB / 0.725 GB, free: 145.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.061, allocations: 4 kB / 0.725 GB, free: 145.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00127/1.062, allocations: 1.053 MB / 0.726 GB, free: 145 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/1.063, allocations: 194.6 kB / 0.7262 GB, free: 144.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/1.074, allocations: 6.71 MB / 0.7328 GB, free: 141.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003503/1.077, allocations: 3.481 MB / 0.7362 GB, free: 138.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.403e-06/1.078, allocations: 0 / 0.7362 GB, free: 138.6 MB / 474.7 MB Notification: Performance of Templates: time 0.04483/1.122, allocations: 24.33 MB / 0.7599 GB, free: 124.4 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1)