Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.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.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008255/0.0008255, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007875/0.007875, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.662/1.662, allocations: 205.4 MB / 222.4 MB, free: 5.785 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.0004413/0.0004414, allocations: 8 kB / 279.4 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2848, allocations: 47.58 MB / 327 MB, free: 1.238 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002511/0.2874, allocations: 2.09 MB / 329.1 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.2885, allocations: 0.6074 MB / 329.7 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.2887, allocations: 4.719 kB / 329.7 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.2888, allocations: 27.77 kB / 329.8 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.289, allocations: 58.7 kB / 329.8 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.2892, allocations: 55.94 kB / 329.9 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003206/0.2896, allocations: 239.4 kB / 330.1 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.2898, allocations: 83.27 kB / 330.2 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.29, allocations: 83.94 kB / 330.3 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.2902, allocations: 94.42 kB / 330.4 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.163e-05/0.2902, allocations: 14.11 kB / 330.4 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.803e-05/0.2903, allocations: 11.66 kB / 330.4 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.2903, allocations: 37.22 kB / 330.4 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.2905, allocations: 129.8 kB / 330.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.2908, allocations: 232.2 kB / 330.8 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2908, allocations: 7.938 kB / 330.8 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.2908, allocations: 0 / 330.8 MB, free: 14.36 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.2909, allocations: 0.9375 kB / 330.8 MB, free: 14.36 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008582/0.2917, allocations: 498.7 kB / 331.3 MB, free: 13.9 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.2918, allocations: 8.875 kB / 331.3 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.2919, allocations: 25.84 kB / 331.3 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.2921, allocations: 240.7 kB / 331.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.2922, allocations: 17.06 kB / 331.6 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.2923, allocations: 22.14 kB / 331.6 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.2928, allocations: 225.7 kB / 331.8 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.2928, allocations: 5.125 kB / 331.8 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.2928, allocations: 9.062 kB / 331.8 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2929, allocations: 5.375 kB / 331.8 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003628/0.2932, allocations: 154.5 kB / 332 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.2946, allocations: 0.8017 MB / 332.8 MB, free: 12.69 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.295, allocations: 199.2 kB / 333 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.2953, allocations: 111.1 kB / 333.1 MB, free: 12.51 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.2953, allocations: 2.688 kB / 333.1 MB, free: 12.51 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.2954, allocations: 39.98 kB / 333.1 MB, free: 12.46 MB / 270.1 MB Notification: Performance of pre-optimization done (n=22): time 1.753e-06/0.2954, allocations: 0.9375 kB / 333.1 MB, free: 12.46 MB / 270.1 MB Notification: Performance of matching and sorting (n=26): time 0.001861/0.2973, allocations: 0.8808 MB / 334 MB, free: 11.77 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.2973, allocations: 83.17 kB / 334.1 MB, free: 11.67 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.2976, allocations: 183.7 kB / 334.3 MB, free: 11.53 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.2976, allocations: 29.7 kB / 334.3 MB, free: 11.49 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.2977, allocations: 142.5 kB / 334.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.326e-05/0.2978, allocations: 90.34 kB / 334.5 MB, free: 11.28 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.2979, allocations: 32.89 kB / 334.5 MB, free: 11.25 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.2981, allocations: 331 kB / 334.9 MB, free: 10.92 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.2983, allocations: 67.31 kB / 334.9 MB, free: 10.89 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.2985, allocations: 111 kB / 335 MB, free: 10.82 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.2989, allocations: 195.7 kB / 335.2 MB, free: 10.66 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.2989, allocations: 8 kB / 335.2 MB, free: 10.66 MB / 270.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004731/0.2994, allocations: 253.1 kB / 335.5 MB, free: 10.4 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.2994, allocations: 6.969 kB / 335.5 MB, free: 10.4 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2995, allocations: 4 kB / 335.5 MB, free: 10.39 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.2995, allocations: 0 / 335.5 MB, free: 10.39 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.2998, allocations: 71.94 kB / 335.6 MB, free: 10.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.2998, allocations: 0 / 335.6 MB, free: 10.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.2999, allocations: 15.98 kB / 335.6 MB, free: 10.31 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.3, allocations: 12 kB / 335.6 MB, free: 10.3 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.0001567/0.3001, allocations: 142.2 kB / 335.7 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.3002, allocations: 23.72 kB / 335.8 MB, free: 10.12 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.662e-05/0.3003, allocations: 29.86 kB / 335.8 MB, free: 10.09 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3003, allocations: 8 kB / 335.8 MB, free: 10.09 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.3003, allocations: 0 / 335.8 MB, free: 10.09 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.3003, allocations: 0 / 335.8 MB, free: 10.09 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009222/0.3013, allocations: 0.5904 MB / 336.4 MB, free: 9.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3013, allocations: 0 / 336.4 MB, free: 9.43 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.3016, allocations: 67.91 kB / 336.5 MB, free: 9.363 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3016, allocations: 0 / 336.5 MB, free: 9.363 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.3016, allocations: 8 kB / 336.5 MB, free: 9.355 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3016, allocations: 4.391 kB / 336.5 MB, free: 9.352 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3016, allocations: 3.938 kB / 336.5 MB, free: 9.348 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007346/0.3024, allocations: 0.4971 MB / 337 MB, free: 8.824 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.3025, allocations: 96.83 kB / 337.1 MB, free: 8.711 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.3025, allocations: 8 kB / 337.1 MB, free: 8.703 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.3027, allocations: 8.031 kB / 337.1 MB, free: 8.695 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.3027, allocations: 19.92 kB / 337.1 MB, free: 8.676 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.3028, allocations: 12 kB / 337.1 MB, free: 8.664 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.3029, allocations: 137.5 kB / 337.2 MB, free: 8.531 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3029, allocations: 0 / 337.2 MB, free: 8.531 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003254/0.3032, allocations: 52 kB / 337.3 MB, free: 8.48 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.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 (26): * Single equations (assignments): 26 * 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.0001433/0.3034, allocations: 99.19 kB / 337.4 MB, free: 8.375 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003969/0.3038, allocations: 192.2 kB / 337.6 MB, free: 8.188 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3038, allocations: 0 / 337.6 MB, free: 8.188 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.304, allocations: 104 kB / 337.7 MB, free: 8.086 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005334/0.3045, allocations: 31.98 kB / 337.7 MB, free: 8.055 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.3057, allocations: 0.8651 MB / 338.6 MB, free: 7.156 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.3061, allocations: 0.752 MB / 339.3 MB, free: 6.379 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.95e-05/0.3062, allocations: 29.88 kB / 339.4 MB, free: 6.344 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.3063, allocations: 19.44 kB / 339.4 MB, free: 6.324 MB / 270.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3063, allocations: 0 / 339.4 MB, free: 6.324 MB / 270.1 MB Notification: Performance of Templates: time 0.004991/0.3113, allocations: 1.877 MB / 341.3 MB, free: 4.449 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1)