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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.85/0.85, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001669/0.001669, allocations: 155.4 kB / 149.1 MB, free: 0.9492 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.075e-05/2.075e-05, allocations: 4 kB / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0515/0.05154, allocations: 25.18 MB / 205.4 MB, free: 8.441 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04989/0.1015, allocations: 33.52 MB / 238.9 MB, free: 6.871 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.1018, allocations: 63.95 kB / 239 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007846/0.1097, allocations: 2.826 MB / 241.8 MB, free: 3.965 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1097, allocations: 0 / 241.8 MB, free: 3.965 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.1097, allocations: 4 kB / 241.8 MB, free: 3.961 MB / 186.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.0005183/0.1102, allocations: 426.2 kB / 242.2 MB, free: 3.5 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.1103, allocations: 12.03 kB / 242.2 MB, free: 3.488 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.1104, allocations: 19.77 kB / 242.2 MB, free: 3.469 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.1106, allocations: 206.8 kB / 242.4 MB, free: 3.227 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.1106, allocations: 16 kB / 242.5 MB, free: 3.211 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.1107, allocations: 16 kB / 242.5 MB, free: 3.195 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.111, allocations: 176.1 kB / 242.6 MB, free: 3.008 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.111, allocations: 7.984 kB / 242.7 MB, free: 3 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.111, allocations: 4 kB / 242.7 MB, free: 2.996 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1111, allocations: 7.938 kB / 242.7 MB, free: 2.988 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.1112, allocations: 103.9 kB / 242.8 MB, free: 2.887 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.1124, allocations: 0.7834 MB / 243.6 MB, free: 2.031 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.1126, allocations: 115.8 kB / 243.7 MB, free: 1.891 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.129e-05/0.1127, allocations: 42.7 kB / 243.7 MB, free: 1.84 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.1127, allocations: 0 / 243.7 MB, free: 1.84 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.1127, allocations: 42.56 kB / 243.7 MB, free: 1.789 MB / 186.7 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.1127, allocations: 3.938 kB / 243.8 MB, free: 1.785 MB / 186.7 MB Notification: Performance of matching and sorting (n=13): time 0.000282/0.113, allocations: 105.5 kB / 243.9 MB, free: 1.676 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.1131, allocations: 106.8 kB / 244 MB, free: 1.547 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.1133, allocations: 188.4 kB / 244.1 MB, free: 1.355 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1133, allocations: 29.7 kB / 244.2 MB, free: 1.32 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.1134, allocations: 132 kB / 244.3 MB, free: 1.184 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.1134, allocations: 67.17 kB / 244.4 MB, free: 1.117 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.1135, allocations: 0 / 244.4 MB, free: 1.117 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1136, allocations: 330.8 kB / 244.7 MB, free: 0.7852 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-05/0.1137, allocations: 36.47 kB / 244.7 MB, free: 0.7461 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.1138, allocations: 125 kB / 244.8 MB, free: 0.582 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1139, allocations: 60 kB / 244.9 MB, free: 0.5234 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.1139, allocations: 4 kB / 244.9 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002812/0.1142, allocations: 205.4 kB / 245.1 MB, free: 320 kB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1142, allocations: 8 kB / 245.1 MB, free: 312 kB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1142, allocations: 4 kB / 245.1 MB, free: 308 kB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1143, allocations: 7.984 kB / 245.1 MB, free: 300 kB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1144, allocations: 51.92 kB / 245.2 MB, free: 248 kB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1144, allocations: 4 kB / 245.2 MB, free: 244 kB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.1145, allocations: 23.69 kB / 245.2 MB, free: 220 kB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.1146, allocations: 16.06 kB / 245.2 MB, free: 204 kB / 186.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 8.16e-05/0.1146, allocations: 112.9 kB / 245.3 MB, free: 84 kB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.934e-05/0.1147, allocations: 23.67 kB / 245.4 MB, free: 60 kB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.323e-05/0.1148, allocations: 36.92 kB / 245.4 MB, free: 24 kB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1148, allocations: 0 / 245.4 MB, free: 24 kB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1148, allocations: 0 / 245.4 MB, free: 24 kB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1148, allocations: 4 kB / 245.4 MB, free: 20 kB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1218/0.2366, allocations: 233.5 kB / 245.6 MB, free: 41.51 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.2367, allocations: 3.141 kB / 245.6 MB, free: 41.51 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.2368, allocations: 31.33 kB / 245.7 MB, free: 41.51 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/0.2369, allocations: 3.344 kB / 245.7 MB, free: 41.51 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.2369, allocations: 11.28 kB / 245.7 MB, free: 41.51 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.2369, allocations: 1.859 kB / 245.7 MB, free: 41.51 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2369, allocations: 1.188 kB / 245.7 MB, free: 41.51 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004322/0.2373, allocations: 412.8 kB / 246.1 MB, free: 41.2 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.337e-05/0.2374, allocations: 94.95 kB / 246.2 MB, free: 41.11 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.2375, allocations: 4.125 kB / 246.2 MB, free: 41.11 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.2376, allocations: 4.203 kB / 246.2 MB, free: 41.11 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.2377, allocations: 12.48 kB / 246.2 MB, free: 41.11 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.2377, allocations: 7.688 kB / 246.2 MB, free: 41.11 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001687/0.2379, allocations: 149 kB / 246.3 MB, free: 41.03 MB / 186.7 MB Notification: Performance of sort global known variables: time 9.01e-07/0.2379, allocations: 0 / 246.3 MB, free: 41.03 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004727/0.2383, allocations: 41.52 kB / 246.4 MB, free: 41.03 MB / 186.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.0001609/0.2385, allocations: 103.9 kB / 246.5 MB, free: 40.95 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.2388, allocations: 110.4 kB / 246.6 MB, free: 40.95 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.2388, allocations: 2.516 kB / 246.6 MB, free: 40.95 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 6.515e-05/0.2389, allocations: 37.95 kB / 246.6 MB, free: 40.95 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.2393, allocations: 28.2 kB / 246.7 MB, free: 40.95 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008713/0.2402, allocations: 0.5632 MB / 247.2 MB, free: 40.61 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.2404, allocations: 0.7365 MB / 248 MB, free: 39.9 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 7.363e-05/0.2405, allocations: 15.3 kB / 248 MB, free: 39.9 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.2405, allocations: 18.33 kB / 248 MB, free: 39.89 MB / 186.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2405, allocations: 4 kB / 248 MB, free: 39.89 MB / 186.7 MB Notification: Performance of Templates: time 0.003992/0.2445, allocations: 1.28 MB / 249.3 MB, free: 39.79 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)