Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.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) 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(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention") [: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.001685/0.001686, allocations: 190.9 kB / 8.136 MB, free: 2.195 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.146/1.146, allocations: 194.2 MB / 202.8 MB, free: 8.684 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.001893/0.001893, allocations: 114.7 kB / 247.7 MB, free: 6.41 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.104e-06/7.144e-06, allocations: 3.938 kB / 297.6 MB, free: 8.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07224/0.07227, allocations: 44.5 MB / 342.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1947/0.267, allocations: 70.44 MB / 412.5 MB, free: 24.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001784/0.2672, allocations: 68.25 kB / 412.6 MB, free: 24.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.006954/0.2742, allocations: 2.523 MB / 415.1 MB, free: 22.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.2742, allocations: 4 kB / 415.1 MB, free: 22.57 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0003656/0.2746, allocations: 426.2 kB / 415.5 MB, free: 22.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.2746, allocations: 16.03 kB / 415.5 MB, free: 22.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.2747, allocations: 19.72 kB / 415.5 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.2749, allocations: 215.4 kB / 415.8 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.2749, allocations: 4 kB / 415.8 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.2749, allocations: 12.75 kB / 415.8 MB, free: 21.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001787/0.2751, allocations: 79.17 kB / 415.8 MB, free: 21.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.2753, allocations: 155 kB / 416 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.2753, allocations: 7.938 kB / 416 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.2754, allocations: 4 kB / 416 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.2754, allocations: 4 kB / 416 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008958/0.2763, allocations: 0.7167 MB / 416.7 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.2765, allocations: 110.8 kB / 416.8 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.891e-05/0.2765, allocations: 46.27 kB / 416.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.2766, allocations: 0 / 416.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.2766, allocations: 42.62 kB / 416.9 MB, free: 20.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 5.4e-06/0.2767, allocations: 0 / 416.9 MB, free: 20.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002503/0.2769, allocations: 94.42 kB / 417 MB, free: 20.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.2769, allocations: 110.8 kB / 417.1 MB, free: 20.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.538e-05/0.277, allocations: 132 kB / 417.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.2771, allocations: 32.22 kB / 417.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.2771, allocations: 138.5 kB / 417.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.2771, allocations: 50.31 kB / 417.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-06/0.2771, allocations: 0 / 417.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.115e-05/0.2772, allocations: 326 kB / 417.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.344e-05/0.2772, allocations: 33.59 kB / 417.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.487e-05/0.2773, allocations: 119.5 kB / 417.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.397e-05/0.2774, allocations: 52.8 kB / 418 MB, free: 19.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2774, allocations: 0 / 418 MB, free: 19.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002277/0.2776, allocations: 179.6 kB / 418.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.2777, allocations: 7.984 kB / 418.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2777, allocations: 4 kB / 418.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2777, allocations: 4 kB / 418.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.2779, allocations: 47.67 kB / 418.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2779, allocations: 4 kB / 418.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.885e-05/0.278, allocations: 19.75 kB / 418.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.278, allocations: 11.12 kB / 418.3 MB, free: 19.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.2781, allocations: 116.8 kB / 418.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.2782, allocations: 19.8 kB / 418.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.2782, allocations: 14.75 kB / 418.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2782, allocations: 4 kB / 418.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2782, allocations: 2 kB / 418.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2782, allocations: 0 / 418.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.2786, allocations: 214 kB / 418.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2786, allocations: 4 kB / 418.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.2788, allocations: 31.92 kB / 418.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2788, allocations: 0 / 418.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.2788, allocations: 4 kB / 418.7 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2788, allocations: 7.938 kB / 418.7 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2788, allocations: 0 / 418.7 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002139/0.279, allocations: 407.3 kB / 419.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.2791, allocations: 92.86 kB / 419.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.2791, allocations: 8 kB / 419.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.2793, allocations: 1.25 kB / 419.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.2793, allocations: 10.67 kB / 419.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.2793, allocations: 4 kB / 419.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.909e-05/0.2794, allocations: 108.7 kB / 419.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003648/0.2797, allocations: 39.84 kB / 419.3 MB, free: 18.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001022/0.2799, allocations: 95.25 kB / 419.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.2801, allocations: 98.17 kB / 419.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2801, allocations: 0 / 419.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.944e-05/0.2801, allocations: 35.06 kB / 419.6 MB, free: 18.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.2805, allocations: 23.67 kB / 419.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007237/0.2812, allocations: 0.5395 MB / 420.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.2814, allocations: 0.7505 MB / 420.9 MB, free: 16.8 MB / 314.7 MB Notification: Performance of SimCode: time 3.51e-07/0.2814, allocations: 0 / 420.9 MB, free: 16.8 MB / 314.7 MB Notification: Performance of Templates: time 0.003241/0.2846, allocations: 1.242 MB / 422.1 MB, free: 15.6 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1)