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.0009513/0.0009512, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0006693/0.0006694, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2589, allocations: 47.6 MB / 326.5 MB, free: 1.602 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.001735/0.2607, allocations: 1.724 MB / 328.2 MB, free: 248 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002651/0.261, allocations: 169.4 kB / 328.4 MB, free: 100 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.596e-05/0.261, allocations: 8.094 kB / 328.4 MB, free: 96 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 8.847e-05/0.2611, allocations: 18.41 kB / 328.4 MB, free: 80 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 5.807e-05/0.2612, allocations: 40.95 kB / 328.4 MB, free: 44 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.2613, allocations: 34.33 kB / 328.5 MB, free: 16 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.2615, allocations: 167 kB / 328.6 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.2617, allocations: 41.34 kB / 328.7 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.461e-05/0.2618, allocations: 63.02 kB / 328.7 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.74e-05/0.2619, allocations: 57.5 kB / 328.8 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.2619, allocations: 7.688 kB / 328.8 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.382e-05/0.2619, allocations: 7.781 kB / 328.8 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.2619, allocations: 24.41 kB / 328.8 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.262, allocations: 57.14 kB / 328.9 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.2621, allocations: 132.7 kB / 329 MB, free: 15.66 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2622, allocations: 1.406 kB / 329 MB, free: 15.66 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2622, allocations: 0 / 329 MB, free: 15.66 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.2622, allocations: 4 kB / 329 MB, free: 15.66 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.0004856/0.2627, allocations: 433.2 kB / 329.4 MB, free: 15.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2627, allocations: 12.05 kB / 329.5 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.2628, allocations: 22.5 kB / 329.5 MB, free: 15.22 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.263, allocations: 209.3 kB / 329.7 MB, free: 14.99 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.263, allocations: 11.12 kB / 329.7 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.263, allocations: 22.56 kB / 329.7 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.2633, allocations: 188.1 kB / 329.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.2634, allocations: 0 / 329.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.2634, allocations: 10.91 kB / 329.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.2634, allocations: 8.328 kB / 329.9 MB, free: 14.81 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.2636, allocations: 94.52 kB / 330 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.2648, allocations: 0.9648 MB / 331 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.2649, allocations: 97.72 kB / 331.1 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.739e-05/0.265, allocations: 41.16 kB / 331.1 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.265, allocations: 1.031 kB / 331.1 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.265, allocations: 40.75 kB / 331.1 MB, free: 13.67 MB / 270.1 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.265, allocations: 3.938 kB / 331.1 MB, free: 13.67 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002773/0.2653, allocations: 125.9 kB / 331.3 MB, free: 13.59 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.2654, allocations: 109 kB / 331.4 MB, free: 13.46 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.2656, allocations: 210.8 kB / 331.6 MB, free: 13.29 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.2656, allocations: 26.92 kB / 331.6 MB, free: 13.26 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.186e-05/0.2657, allocations: 141.1 kB / 331.7 MB, free: 13.13 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.2658, allocations: 56.73 kB / 331.8 MB, free: 13.08 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.2658, allocations: 5.125 kB / 331.8 MB, free: 13.07 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2659, allocations: 327 kB / 332.1 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.36e-05/0.266, allocations: 41.58 kB / 332.2 MB, free: 12.73 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.2661, allocations: 148.2 kB / 332.3 MB, free: 12.57 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.85e-05/0.2662, allocations: 62.72 kB / 332.4 MB, free: 12.54 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2662, allocations: 0 / 332.4 MB, free: 12.54 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003126/0.2665, allocations: 215.6 kB / 332.6 MB, free: 12.41 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2666, allocations: 5.781 kB / 332.6 MB, free: 12.41 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2666, allocations: 8.328 kB / 332.6 MB, free: 12.41 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.2666, allocations: 5.906 kB / 332.6 MB, free: 12.41 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.2668, allocations: 50.52 kB / 332.7 MB, free: 12.4 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.2668, allocations: 4.312 kB / 332.7 MB, free: 12.4 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.2669, allocations: 32.11 kB / 332.7 MB, free: 12.38 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.2669, allocations: 13.69 kB / 332.7 MB, free: 12.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.267, allocations: 135.5 kB / 332.8 MB, free: 12.24 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.2671, allocations: 21.08 kB / 332.9 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.2672, allocations: 16.28 kB / 332.9 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2672, allocations: 2.531 kB / 332.9 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2672, allocations: 0.875 kB / 332.9 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2672, allocations: 1.344 kB / 332.9 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.2676, allocations: 247.5 kB / 333.1 MB, free: 11.96 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2676, allocations: 0.9375 kB / 333.1 MB, free: 11.96 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.2678, allocations: 29.3 kB / 333.1 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2678, allocations: 0 / 333.1 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.2678, allocations: 6.5 kB / 333.2 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2678, allocations: 9.203 kB / 333.2 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2678, allocations: 1.188 kB / 333.2 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.2681, allocations: 383.3 kB / 333.5 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.2682, allocations: 92.66 kB / 333.6 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.2682, allocations: 6.625 kB / 333.6 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.2684, allocations: 1.25 kB / 333.6 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.2684, allocations: 16.08 kB / 333.7 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.2684, allocations: 2.625 kB / 333.7 MB, free: 11.49 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.2685, allocations: 145.1 kB / 333.8 MB, free: 11.38 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2685, allocations: 1.094 kB / 333.8 MB, free: 11.38 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003735/0.2689, allocations: 43.84 kB / 333.8 MB, free: 11.37 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 (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.0001113/0.269, allocations: 105.8 kB / 333.9 MB, free: 11.27 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.2693, allocations: 105.6 kB / 334 MB, free: 11.23 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2693, allocations: 0 / 334 MB, free: 11.23 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.285e-05/0.2693, allocations: 37.39 kB / 334.1 MB, free: 11.21 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/0.2698, allocations: 27.73 kB / 334.1 MB, free: 11.2 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.271, allocations: 0.764 MB / 334.9 MB, free: 10.54 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.2714, allocations: 0.7228 MB / 335.6 MB, free: 9.828 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.908e-05/0.2714, allocations: 22.72 kB / 335.6 MB, free: 9.816 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.2715, allocations: 17.19 kB / 335.6 MB, free: 9.812 MB / 270.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2715, allocations: 0 / 335.6 MB, free: 9.812 MB / 270.1 MB Notification: Performance of Templates: time 0.003803/0.2753, allocations: 1.215 MB / 336.9 MB, free: 8.738 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)