Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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/Modelica 3.1.0+maint.om/package.mo): time 0.6622/0.6622, allocations: 110.8 MB / 118 MB, free: 14.6 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001721/0.001721, allocations: 160 kB / 143.7 MB, free: 4.934 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.432e-06, allocations: 4 kB / 173.5 MB, free: 23.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04158/0.0416, allocations: 25.16 MB / 198.6 MB, free: 13.97 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.1818, allocations: 32.78 MB / 231.4 MB, free: 4.285 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.1821, allocations: 64.86 kB / 231.5 MB, free: 4.285 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.01009/0.1922, allocations: 2.485 MB / 233.9 MB, free: 4.102 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.1923, allocations: 3.656 kB / 233.9 MB, free: 4.102 MB / 170.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.0004352/0.1927, allocations: 425.2 kB / 234.4 MB, free: 3.719 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1928, allocations: 7.75 kB / 234.4 MB, free: 3.719 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.764e-05/0.1929, allocations: 27.47 kB / 234.4 MB, free: 3.703 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.1931, allocations: 213.1 kB / 234.6 MB, free: 3.492 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1931, allocations: 7.859 kB / 234.6 MB, free: 3.488 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.1931, allocations: 11.06 kB / 234.6 MB, free: 3.488 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002368/0.1934, allocations: 91.69 kB / 234.7 MB, free: 3.484 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.1937, allocations: 147.4 kB / 234.9 MB, free: 3.422 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.1937, allocations: 7.781 kB / 234.9 MB, free: 3.418 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.1937, allocations: 0 / 234.9 MB, free: 3.418 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1938, allocations: 6.719 kB / 234.9 MB, free: 3.418 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000891/0.1946, allocations: 0.7227 MB / 235.6 MB, free: 2.914 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.1948, allocations: 108.2 kB / 235.7 MB, free: 2.836 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.1949, allocations: 40.17 kB / 235.7 MB, free: 2.812 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.1949, allocations: 6.266 kB / 235.7 MB, free: 2.812 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.21e-05/0.1949, allocations: 30.56 kB / 235.8 MB, free: 2.773 MB / 170.7 MB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.1949, allocations: 0 / 235.8 MB, free: 2.773 MB / 170.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002356/0.1951, allocations: 97 kB / 235.9 MB, free: 2.73 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.1952, allocations: 113.1 kB / 236 MB, free: 2.602 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.556e-05/0.1953, allocations: 133.9 kB / 236.1 MB, free: 2.512 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.1953, allocations: 25.7 kB / 236.1 MB, free: 2.48 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.1954, allocations: 141.6 kB / 236.3 MB, free: 2.359 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.1954, allocations: 51.33 kB / 236.3 MB, free: 2.328 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-06/0.1954, allocations: 0 / 236.3 MB, free: 2.328 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.231e-05/0.1955, allocations: 326.4 kB / 236.6 MB, free: 2.016 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.084e-05/0.1955, allocations: 35.09 kB / 236.7 MB, free: 2.008 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.305e-05/0.1956, allocations: 120.9 kB / 236.8 MB, free: 1.895 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.451e-05/0.1957, allocations: 55.42 kB / 236.9 MB, free: 1.883 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1957, allocations: 0 / 236.9 MB, free: 1.883 MB / 170.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000229/0.1959, allocations: 176.2 kB / 237 MB, free: 1.824 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.196, allocations: 9 kB / 237 MB, free: 1.824 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.196, allocations: 3.875 kB / 237 MB, free: 1.824 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.196, allocations: 3.875 kB / 237 MB, free: 1.824 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.1962, allocations: 52.27 kB / 237.1 MB, free: 1.82 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1962, allocations: 7.812 kB / 237.1 MB, free: 1.816 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.07e-05/0.1963, allocations: 19.58 kB / 237.1 MB, free: 1.805 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.1963, allocations: 15.75 kB / 237.1 MB, free: 1.801 MB / 170.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 6.187e-05/0.1964, allocations: 109.5 kB / 237.2 MB, free: 1.688 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.005e-05/0.1964, allocations: 15.56 kB / 237.3 MB, free: 1.68 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.682e-05/0.1965, allocations: 17.44 kB / 237.3 MB, free: 1.676 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1965, allocations: 0 / 237.3 MB, free: 1.676 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1965, allocations: 3.875 kB / 237.3 MB, free: 1.676 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1965, allocations: 2.391 kB / 237.3 MB, free: 1.676 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/0.1969, allocations: 208.9 kB / 237.5 MB, free: 1.516 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1969, allocations: 3.875 kB / 237.5 MB, free: 1.516 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.1971, allocations: 31.66 kB / 237.5 MB, free: 1.512 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1971, allocations: 3.938 kB / 237.5 MB, free: 1.512 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1971, allocations: 3.125 kB / 237.5 MB, free: 1.512 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1971, allocations: 5.562 kB / 237.5 MB, free: 1.508 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.1971, allocations: 7.875 kB / 237.5 MB, free: 1.504 MB / 170.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000236/0.1973, allocations: 401.8 kB / 237.9 MB, free: 1.176 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.1974, allocations: 92.73 kB / 238 MB, free: 1.07 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.1974, allocations: 1.312 kB / 238 MB, free: 1.07 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.1976, allocations: 3.875 kB / 238 MB, free: 1.07 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.1976, allocations: 6.734 kB / 238 MB, free: 1.07 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1976, allocations: 3.969 kB / 238 MB, free: 1.07 MB / 170.7 MB Notification: Performance of sort global known variables: time 5.328e-05/0.1977, allocations: 112.4 kB / 238.1 MB, free: 0.9922 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0003437/0.198, allocations: 42.84 kB / 238.2 MB, free: 0.9844 MB / 170.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.0001087/0.1981, allocations: 100.4 kB / 238.3 MB, free: 0.8906 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.1983, allocations: 96.14 kB / 238.4 MB, free: 0.8828 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1983, allocations: 0 / 238.4 MB, free: 0.8828 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 3.684e-05/0.1984, allocations: 35.33 kB / 238.4 MB, free: 0.8789 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.1987, allocations: 15.38 kB / 238.4 MB, free: 0.8789 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007287/0.1994, allocations: 0.5382 MB / 239 MB, free: 496 kB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.1997, allocations: 0.7542 MB / 239.7 MB, free: 15.77 MB / 186.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1997, allocations: 3.938 kB / 239.7 MB, free: 15.77 MB / 186.7 MB Notification: Performance of Templates: time 0.003548/0.2032, allocations: 1.24 MB / 241 MB, free: 15.66 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1)