Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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/Complex 3.2.1+maint.om/package.mo): time 0.001097/0.001098, allocations: 179.5 kB / 7.452 MB, free: 0.4961 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.274/1.274, allocations: 170.6 MB / 178.4 MB, free: 4.137 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001732/0.001732, allocations: 111.9 kB / 217.7 MB, free: 13.01 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 7.794e-06/7.824e-06, allocations: 0 / 261.7 MB, free: 30.55 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09249/0.09251, allocations: 38.76 MB / 300.5 MB, free: 7.855 MB / 222.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3239/0.4165, allocations: 65.14 MB / 365.6 MB, free: 11.45 MB / 270.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.4168, allocations: 68.44 kB / 365.7 MB, free: 11.45 MB / 270.1 MB Notification: Performance of FrontEnd: time 0.009793/0.4266, allocations: 2.514 MB / 368.2 MB, free: 11.26 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.4267, allocations: 7.766 kB / 368.2 MB, free: 11.26 MB / 270.1 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.000617/0.4273, allocations: 428.6 kB / 368.6 MB, free: 10.88 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4274, allocations: 11.66 kB / 368.7 MB, free: 10.88 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.472e-05/0.4275, allocations: 15.59 kB / 368.7 MB, free: 10.87 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.4278, allocations: 208.9 kB / 368.9 MB, free: 10.66 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.4278, allocations: 11.84 kB / 368.9 MB, free: 10.65 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.4279, allocations: 11.62 kB / 368.9 MB, free: 10.65 MB / 270.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003065/0.4282, allocations: 87.86 kB / 369 MB, free: 10.64 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/0.4286, allocations: 151.7 kB / 369.1 MB, free: 10.59 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.4286, allocations: 3.984 kB / 369.1 MB, free: 10.58 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.4287, allocations: 3.938 kB / 369.1 MB, free: 10.58 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.4287, allocations: 7.875 kB / 369.2 MB, free: 10.57 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.4302, allocations: 0.7297 MB / 369.9 MB, free: 10.07 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.4305, allocations: 108.3 kB / 370 MB, free: 9.988 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.277e-05/0.4306, allocations: 40.33 kB / 370 MB, free: 9.965 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.4306, allocations: 4 kB / 370 MB, free: 9.961 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.4306, allocations: 34.31 kB / 370.1 MB, free: 9.922 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.234e-06/0.4307, allocations: 0 / 370.1 MB, free: 9.922 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003652/0.431, allocations: 97 kB / 370.2 MB, free: 9.883 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.4311, allocations: 109.3 kB / 370.3 MB, free: 9.758 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.4312, allocations: 141.3 kB / 370.4 MB, free: 9.66 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.4313, allocations: 25.7 kB / 370.4 MB, free: 9.629 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.4314, allocations: 140.5 kB / 370.6 MB, free: 9.504 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.4314, allocations: 53.69 kB / 370.6 MB, free: 9.473 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.4314, allocations: 0 / 370.6 MB, free: 9.473 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 7.635e-05/0.4315, allocations: 325 kB / 370.9 MB, free: 9.16 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.14e-05/0.4316, allocations: 32.09 kB / 371 MB, free: 9.156 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.4318, allocations: 121.5 kB / 371.1 MB, free: 9.039 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.4319, allocations: 57.23 kB / 371.1 MB, free: 9.031 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.4319, allocations: 0 / 371.1 MB, free: 9.031 MB / 270.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003694/0.4323, allocations: 164.9 kB / 371.3 MB, free: 8.98 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.4323, allocations: 8.188 kB / 371.3 MB, free: 8.98 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.4324, allocations: 11.89 kB / 371.3 MB, free: 8.973 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.4324, allocations: 4.797 kB / 371.3 MB, free: 8.973 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.4326, allocations: 50.62 kB / 371.4 MB, free: 8.969 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/0.4327, allocations: 7.812 kB / 371.4 MB, free: 8.965 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.4329, allocations: 19.62 kB / 371.4 MB, free: 8.949 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.4329, allocations: 13.27 kB / 371.4 MB, free: 8.949 MB / 270.1 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 7.8e-05/0.433, allocations: 112 kB / 371.5 MB, free: 8.836 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.4331, allocations: 15.66 kB / 371.5 MB, free: 8.828 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.971e-05/0.4332, allocations: 19.55 kB / 371.6 MB, free: 8.809 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.4332, allocations: 4 kB / 371.6 MB, free: 8.805 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.4332, allocations: 5.406 kB / 371.6 MB, free: 8.805 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.4332, allocations: 0 / 371.6 MB, free: 8.805 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005482/0.4338, allocations: 209.5 kB / 371.8 MB, free: 8.645 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.4338, allocations: 3.875 kB / 371.8 MB, free: 8.645 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.4341, allocations: 28.88 kB / 371.8 MB, free: 8.645 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.4341, allocations: 3.875 kB / 371.8 MB, free: 8.645 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.4341, allocations: 0 / 371.8 MB, free: 8.645 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.4341, allocations: 0 / 371.8 MB, free: 8.645 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.4341, allocations: 7.906 kB / 371.8 MB, free: 8.641 MB / 270.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003458/0.4345, allocations: 402.1 kB / 372.2 MB, free: 8.312 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.4346, allocations: 97.34 kB / 372.3 MB, free: 8.207 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.4346, allocations: 3.906 kB / 372.3 MB, free: 8.203 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.4349, allocations: 3.938 kB / 372.3 MB, free: 8.203 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.4349, allocations: 10.89 kB / 372.3 MB, free: 8.199 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.435, allocations: 5.406 kB / 372.3 MB, free: 8.199 MB / 270.1 MB Notification: Performance of sort global known variables: time 8.361e-05/0.435, allocations: 111.5 kB / 372.4 MB, free: 8.121 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005855/0.4356, allocations: 42.5 kB / 372.5 MB, free: 8.113 MB / 270.1 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.000135/0.4358, allocations: 100.1 kB / 372.6 MB, free: 8.023 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.436, allocations: 91.39 kB / 372.7 MB, free: 8.016 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.436, allocations: 4.188 kB / 372.7 MB, free: 8.012 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.9e-05/0.4361, allocations: 35.73 kB / 372.7 MB, free: 8.008 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.4366, allocations: 19.36 kB / 372.7 MB, free: 8.008 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.4379, allocations: 0.5335 MB / 373.3 MB, free: 7.617 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.4382, allocations: 0.7447 MB / 374 MB, free: 6.918 MB / 270.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4382, allocations: 7.938 kB / 374 MB, free: 6.91 MB / 270.1 MB Notification: Performance of Templates: time 0.005258/0.4435, allocations: 1.236 MB / 375.2 MB, free: 6.805 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1)