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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.00106, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 51.92 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2505, allocations: 46.63 MB / 325.3 MB, free: 2.102 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003365/0.2539, allocations: 2.093 MB / 327.4 MB, free: 456 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003381/0.2543, allocations: 152.4 kB / 327.6 MB, free: 324 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.2544, allocations: 8.156 kB / 327.6 MB, free: 320 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.2546, allocations: 34.69 kB / 327.6 MB, free: 288 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 7.523e-05/0.2546, allocations: 41.14 kB / 327.6 MB, free: 252 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.2548, allocations: 41.81 kB / 327.7 MB, free: 216 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.255, allocations: 181.6 kB / 327.9 MB, free: 108 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.2552, allocations: 56.84 kB / 327.9 MB, free: 72 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.662e-05/0.2553, allocations: 61.2 kB / 328 MB, free: 40 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.2554, allocations: 77.66 kB / 328 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.2554, allocations: 13.28 kB / 328.1 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.276e-05/0.2555, allocations: 13.69 kB / 328.1 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.2555, allocations: 33.56 kB / 328.1 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.659e-05/0.2556, allocations: 82.36 kB / 328.2 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.2559, allocations: 182.5 kB / 328.4 MB, free: 15.77 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2559, allocations: 0 / 328.4 MB, free: 15.77 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2559, allocations: 5.344 kB / 328.4 MB, free: 15.77 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.2559, allocations: 0 / 328.4 MB, free: 15.77 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006538/0.2565, allocations: 471.8 kB / 328.8 MB, free: 15.31 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2566, allocations: 9.781 kB / 328.8 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.2567, allocations: 22.31 kB / 328.9 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.2569, allocations: 215.2 kB / 329.1 MB, free: 15.07 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.2569, allocations: 11.19 kB / 329.1 MB, free: 15.06 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.257, allocations: 23.55 kB / 329.1 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.2573, allocations: 185.2 kB / 329.3 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.2573, allocations: 4.938 kB / 329.3 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.2573, allocations: 6.469 kB / 329.3 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.2573, allocations: 8.375 kB / 329.3 MB, free: 14.89 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.2575, allocations: 99.03 kB / 329.4 MB, free: 14.85 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.2588, allocations: 0.9605 MB / 330.4 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.2589, allocations: 94.53 kB / 330.5 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.131e-05/0.259, allocations: 45.5 kB / 330.5 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.259, allocations: 5.188 kB / 330.5 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.2591, allocations: 32.72 kB / 330.5 MB, free: 13.76 MB / 270.1 MB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.2591, allocations: 0 / 330.5 MB, free: 13.76 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003152/0.2594, allocations: 126.9 kB / 330.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.2595, allocations: 110.2 kB / 330.8 MB, free: 13.55 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.2597, allocations: 206.9 kB / 331 MB, free: 13.39 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.2597, allocations: 30.8 kB / 331 MB, free: 13.36 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.2598, allocations: 141 kB / 331.1 MB, free: 13.22 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.2598, allocations: 44.8 kB / 331.2 MB, free: 13.18 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-05/0.2599, allocations: 50.22 kB / 331.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.26, allocations: 330.9 kB / 331.5 MB, free: 12.82 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.047e-05/0.2601, allocations: 37.7 kB / 331.6 MB, free: 12.8 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.2603, allocations: 152.9 kB / 331.7 MB, free: 12.63 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.2605, allocations: 196.8 kB / 331.9 MB, free: 12.45 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2605, allocations: 1.188 kB / 331.9 MB, free: 12.45 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003214/0.2608, allocations: 224.1 kB / 332.1 MB, free: 12.32 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2608, allocations: 6.781 kB / 332.2 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.2609, allocations: 3.344 kB / 332.2 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.2609, allocations: 5.094 kB / 332.2 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.2611, allocations: 47.14 kB / 332.2 MB, free: 12.31 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.2611, allocations: 4.5 kB / 332.2 MB, free: 12.31 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.2612, allocations: 35.86 kB / 332.2 MB, free: 12.28 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.2612, allocations: 18.38 kB / 332.3 MB, free: 12.27 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.2613, allocations: 138.3 kB / 332.4 MB, free: 12.14 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/0.2614, allocations: 16.66 kB / 332.4 MB, free: 12.13 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.063e-05/0.2615, allocations: 17.62 kB / 332.4 MB, free: 12.11 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.2615, allocations: 10.23 kB / 332.4 MB, free: 12.11 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2615, allocations: 1.188 kB / 332.4 MB, free: 12.11 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2615, allocations: 4.969 kB / 332.5 MB, free: 12.1 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.2619, allocations: 235.8 kB / 332.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.262, allocations: 1.094 kB / 332.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.2621, allocations: 32.42 kB / 332.7 MB, free: 11.85 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2621, allocations: 1.094 kB / 332.7 MB, free: 11.85 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.2622, allocations: 10.09 kB / 332.7 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.2622, allocations: 1.094 kB / 332.7 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2622, allocations: 1.125 kB / 332.7 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.2625, allocations: 383 kB / 333.1 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-05/0.2626, allocations: 97.78 kB / 333.2 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.2626, allocations: 6.125 kB / 333.2 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.2627, allocations: 5.156 kB / 333.2 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.2628, allocations: 12.58 kB / 333.2 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.2628, allocations: 6.469 kB / 333.2 MB, free: 11.38 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.2629, allocations: 147 kB / 333.4 MB, free: 11.28 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2629, allocations: 0 / 333.4 MB, free: 11.28 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003755/0.2633, allocations: 39.28 kB / 333.4 MB, free: 11.27 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001067/0.2634, allocations: 98.23 kB / 333.5 MB, free: 11.18 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.2636, allocations: 124.9 kB / 333.6 MB, free: 11.12 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2637, allocations: 0 / 333.6 MB, free: 11.12 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.145e-05/0.2637, allocations: 33.02 kB / 333.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005949/0.2643, allocations: 36.02 kB / 333.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/0.2653, allocations: 0.6263 MB / 334.3 MB, free: 10.54 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.2656, allocations: 0.7242 MB / 335 MB, free: 9.789 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.282e-05/0.2657, allocations: 21.94 kB / 335.1 MB, free: 9.766 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.2657, allocations: 15.44 kB / 335.1 MB, free: 9.75 MB / 270.1 MB Notification: Performance of SimCode: time 4.8e-07/0.2657, allocations: 0 / 335.1 MB, free: 9.75 MB / 270.1 MB Notification: Performance of Templates: time 0.00391/0.2697, allocations: 1.335 MB / 336.4 MB, free: 8.414 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)