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.0013/0.0013, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002035/0.002034, allocations: 191 kB / 16.14 MB, free: 6.707 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.517/1.517, allocations: 205.1 MB / 222 MB, free: 4.969 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.001315/0.001315, allocations: 47.92 kB / 278 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2971, allocations: 46.62 MB / 324.7 MB, free: 1.957 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004173/0.3014, allocations: 2.458 MB / 327.1 MB, free: 20 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3027, allocations: 0.6209 MB / 327.7 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.3028, allocations: 4.188 kB / 327.8 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.303, allocations: 27.77 kB / 327.8 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.3032, allocations: 50.89 kB / 327.8 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.3035, allocations: 55.05 kB / 327.9 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.3038, allocations: 245.3 kB / 328.1 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002857/0.3041, allocations: 78.56 kB / 328.2 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.3043, allocations: 85.44 kB / 328.3 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.3046, allocations: 111.6 kB / 328.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.3046, allocations: 14.41 kB / 328.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.93e-05/0.3047, allocations: 13.56 kB / 328.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.141e-05/0.3048, allocations: 46.2 kB / 328.5 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.3049, allocations: 108.5 kB / 328.6 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.3052, allocations: 239.7 kB / 328.8 MB, free: 14.8 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3053, allocations: 1.094 kB / 328.8 MB, free: 14.8 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3053, allocations: 0 / 328.8 MB, free: 14.8 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.3053, allocations: 0 / 328.8 MB, free: 14.8 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.0009055/0.3062, allocations: 0.5206 MB / 329.3 MB, free: 14.32 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3062, allocations: 10.25 kB / 329.3 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.484e-05/0.3063, allocations: 24.78 kB / 329.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.3067, allocations: 240.4 kB / 329.6 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.3067, allocations: 20.92 kB / 329.6 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.3068, allocations: 18.59 kB / 329.6 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.3072, allocations: 226 kB / 329.9 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.3073, allocations: 0 / 329.9 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.3073, allocations: 6.156 kB / 329.9 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.3073, allocations: 5.375 kB / 329.9 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003617/0.3077, allocations: 146.7 kB / 330 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.3089, allocations: 0.7983 MB / 330.8 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.3094, allocations: 207.9 kB / 331 MB, free: 12.97 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.3096, allocations: 106.7 kB / 331.1 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.3097, allocations: 3.062 kB / 331.1 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3097, allocations: 36.03 kB / 331.2 MB, free: 12.87 MB / 270.1 MB Notification: Performance of pre-optimization done (n=22): time 1.172e-06/0.3097, allocations: 0 / 331.2 MB, free: 12.87 MB / 270.1 MB Notification: Performance of matching and sorting (n=26): time 0.001924/0.3116, allocations: 0.8634 MB / 332 MB, free: 12.18 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/0.3117, allocations: 83.3 kB / 332.1 MB, free: 12.08 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.312, allocations: 178.9 kB / 332.3 MB, free: 11.94 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.312, allocations: 30.89 kB / 332.3 MB, free: 11.91 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.3122, allocations: 142.1 kB / 332.4 MB, free: 11.77 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.108e-05/0.3123, allocations: 93.77 kB / 332.5 MB, free: 11.69 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.3124, allocations: 50.45 kB / 332.6 MB, free: 11.65 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.3126, allocations: 331.3 kB / 332.9 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.3128, allocations: 63.28 kB / 333 MB, free: 11.3 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.3131, allocations: 104.3 kB / 333.1 MB, free: 11.22 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/0.3135, allocations: 192 kB / 333.3 MB, free: 11.1 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3136, allocations: 1.094 kB / 333.3 MB, free: 11.1 MB / 270.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000577/0.3141, allocations: 243.5 kB / 333.5 MB, free: 10.97 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.3142, allocations: 9.469 kB / 333.5 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.3142, allocations: 5.109 kB / 333.5 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.3142, allocations: 2.438 kB / 333.5 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.3145, allocations: 59.12 kB / 333.6 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.3146, allocations: 3.156 kB / 333.6 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.3147, allocations: 13.31 kB / 333.6 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.3147, allocations: 11.12 kB / 333.6 MB, free: 10.94 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.0001571/0.3149, allocations: 148.5 kB / 333.7 MB, free: 10.8 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.261e-05/0.3149, allocations: 25.91 kB / 333.8 MB, free: 10.78 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.29e-05/0.315, allocations: 24.69 kB / 333.8 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.315, allocations: 4.375 kB / 333.8 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.3151, allocations: 0 / 333.8 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.3151, allocations: 5.453 kB / 333.8 MB, free: 10.75 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009071/0.316, allocations: 0.5797 MB / 334.4 MB, free: 10.12 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.316, allocations: 4 kB / 334.4 MB, free: 10.12 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.3163, allocations: 59.91 kB / 334.4 MB, free: 10.06 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.3163, allocations: 4 kB / 334.4 MB, free: 10.05 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.3163, allocations: 7.984 kB / 334.5 MB, free: 10.05 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.3163, allocations: 4 kB / 334.5 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.646e-05/0.3164, allocations: 3.938 kB / 334.5 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/0.3171, allocations: 489.1 kB / 334.9 MB, free: 9.535 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-05/0.3172, allocations: 92.83 kB / 335 MB, free: 9.426 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.3172, allocations: 11.94 kB / 335 MB, free: 9.414 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.3174, allocations: 16.03 kB / 335.1 MB, free: 9.398 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.3175, allocations: 20 kB / 335.1 MB, free: 9.379 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.3175, allocations: 16 kB / 335.1 MB, free: 9.363 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.3176, allocations: 129.5 kB / 335.2 MB, free: 9.238 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.935e-06/0.3176, allocations: 0 / 335.2 MB, free: 9.238 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000343/0.318, allocations: 55.94 kB / 335.3 MB, free: 9.184 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.0001241/0.3181, allocations: 103.2 kB / 335.4 MB, free: 9.074 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003708/0.3185, allocations: 180.4 kB / 335.6 MB, free: 8.898 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3185, allocations: 0 / 335.6 MB, free: 8.898 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.3188, allocations: 95.98 kB / 335.6 MB, free: 8.805 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.3194, allocations: 44.95 kB / 335.7 MB, free: 8.762 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.3207, allocations: 0.7791 MB / 336.5 MB, free: 7.945 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.321, allocations: 0.752 MB / 337.2 MB, free: 7.168 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.3212, allocations: 21.94 kB / 337.2 MB, free: 7.145 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.3212, allocations: 19.44 kB / 337.3 MB, free: 7.125 MB / 270.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3212, allocations: 0 / 337.3 MB, free: 7.125 MB / 270.1 MB Notification: Performance of Templates: time 0.00568/0.3269, allocations: 1.884 MB / 339.1 MB, free: 5.242 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)