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.006156/0.006156, allocations: 99.28 kB / 15.73 MB, free: 6.055 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.001442/0.001442, allocations: 199.2 kB / 16.68 MB, free: 5.984 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.468/1.468, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.001286/0.001286, allocations: 51.92 kB / 326.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09679/0.09809, allocations: 46.62 MB / 373.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003887/0.102, allocations: 2.403 MB / 375.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1032, allocations: 0.6161 MB / 376.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002164/0.1035, allocations: 8 kB / 376.2 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.1037, allocations: 39.64 kB / 376.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.1039, allocations: 67.34 kB / 376.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.1042, allocations: 63.86 kB / 376.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.1045, allocations: 250.8 kB / 376.6 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.1048, allocations: 101.3 kB / 376.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.1049, allocations: 103.6 kB / 376.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.1051, allocations: 111.5 kB / 376.9 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/0.1052, allocations: 24 kB / 376.9 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.74e-05/0.1052, allocations: 23.94 kB / 376.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.1053, allocations: 43.84 kB / 377 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.1054, allocations: 115.4 kB / 377.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.1057, allocations: 255.1 kB / 377.3 MB, free: 352 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1057, allocations: 0 / 377.3 MB, free: 352 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1057, allocations: 0 / 377.3 MB, free: 352 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.1057, allocations: 0 / 377.3 MB, free: 352 kB / 318.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.2028/0.3086, allocations: 0.5194 MB / 377.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3086, allocations: 9 kB / 377.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.46e-05/0.3087, allocations: 25.98 kB / 377.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.3091, allocations: 239.5 kB / 378.1 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3091, allocations: 15.69 kB / 378.1 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.3092, allocations: 19.25 kB / 378.2 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/0.3096, allocations: 219.5 kB / 378.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.3097, allocations: 5.266 kB / 378.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.3097, allocations: 4.75 kB / 378.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3097, allocations: 6.75 kB / 378.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.31, allocations: 147.8 kB / 378.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.3112, allocations: 0.7813 MB / 379.3 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.3116, allocations: 203.6 kB / 379.5 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.3119, allocations: 100.5 kB / 379.6 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.3119, allocations: 7.234 kB / 379.6 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.3119, allocations: 36.81 kB / 379.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.3119, allocations: 1.312 kB / 379.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001636/0.3136, allocations: 0.8574 MB / 380.5 MB, free: 11.72 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.3136, allocations: 90.05 kB / 380.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.3138, allocations: 181.8 kB / 380.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.3139, allocations: 31.8 kB / 380.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.888e-05/0.314, allocations: 143.4 kB / 381 MB, free: 11.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.314, allocations: 97.17 kB / 381.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.312e-05/0.3141, allocations: 46.81 kB / 381.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.101e-05/0.3142, allocations: 330.2 kB / 381.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.3144, allocations: 68.03 kB / 381.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.3147, allocations: 109.1 kB / 381.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.315, allocations: 191.2 kB / 381.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.315, allocations: 0 / 381.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004298/0.3155, allocations: 251.6 kB / 382 MB, free: 10.61 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3155, allocations: 5.031 kB / 382 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.3155, allocations: 2.125 kB / 382 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.3155, allocations: 4.094 kB / 382 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.3158, allocations: 66.38 kB / 382.1 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.3158, allocations: 5.516 kB / 382.1 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.316, allocations: 11.17 kB / 382.1 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.316, allocations: 6.625 kB / 382.1 MB, free: 10.6 MB / 318.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.000115/0.3161, allocations: 137.1 kB / 382.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/0.3162, allocations: 26.44 kB / 382.3 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.856e-05/0.3163, allocations: 32.19 kB / 382.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.3163, allocations: 5.781 kB / 382.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.3163, allocations: 1.891 kB / 382.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3163, allocations: 1.688 kB / 382.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009678/0.3173, allocations: 0.575 MB / 382.9 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.3173, allocations: 5.562 kB / 382.9 MB, free: 9.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/0.3176, allocations: 56.25 kB / 383 MB, free: 9.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.3176, allocations: 3.75 kB / 383 MB, free: 9.984 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.3177, allocations: 10.11 kB / 383 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.3177, allocations: 3.656 kB / 383 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.3177, allocations: 1.188 kB / 383 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007261/0.3184, allocations: 0.5063 MB / 383.5 MB, free: 9.629 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.3185, allocations: 95.36 kB / 383.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.3185, allocations: 8.891 kB / 383.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.3187, allocations: 5.062 kB / 383.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/0.3188, allocations: 26.45 kB / 383.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.3188, allocations: 7.422 kB / 383.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.3189, allocations: 134.5 kB / 383.8 MB, free: 9.414 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3189, allocations: 0 / 383.8 MB, free: 9.414 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003618/0.3193, allocations: 50.59 kB / 383.8 MB, free: 9.406 MB / 318.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.0001154/0.3194, allocations: 103 kB / 383.9 MB, free: 9.312 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004541/0.3199, allocations: 182 kB / 384.1 MB, free: 9.262 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.3199, allocations: 1.094 kB / 384.1 MB, free: 9.262 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.3201, allocations: 95.89 kB / 384.2 MB, free: 9.234 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.3207, allocations: 42.34 kB / 384.2 MB, free: 9.219 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.3219, allocations: 0.6866 MB / 384.9 MB, free: 8.758 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.3222, allocations: 0.7452 MB / 385.7 MB, free: 8.059 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.3223, allocations: 24.91 kB / 385.7 MB, free: 8.051 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.3223, allocations: 20.84 kB / 385.7 MB, free: 8.043 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3224, allocations: 0 / 385.7 MB, free: 8.043 MB / 318.1 MB Notification: Performance of Templates: time 0.006019/0.3284, allocations: 2.065 MB / 387.8 MB, free: 7.883 MB / 318.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)