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.00812/0.00812, allocations: 107.4 kB / 15.74 MB, free: 6.02 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.001528/0.001529, allocations: 193.2 kB / 16.67 MB, free: 5.934 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.45/1.45, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.001345/0.001345, allocations: 50.06 kB / 326.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1129, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003787/0.1168, allocations: 2.415 MB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1179, allocations: 0.6122 MB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.118, allocations: 8 kB / 376.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.1182, allocations: 43.58 kB / 376.2 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.1183, allocations: 63.41 kB / 376.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.1186, allocations: 55.88 kB / 376.4 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.1189, allocations: 254.9 kB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002363/0.1192, allocations: 97.33 kB / 376.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.1193, allocations: 103.6 kB / 376.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.1195, allocations: 103.5 kB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.211e-05/0.1196, allocations: 24 kB / 376.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.015e-05/0.1196, allocations: 20 kB / 376.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.1197, allocations: 47.78 kB / 377 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.1198, allocations: 115.5 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.1201, allocations: 254.8 kB / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1201, allocations: 0 / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1201, allocations: 0 / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.1202, allocations: 0 / 377.4 MB, free: 13.09 MB / 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.0009087/0.1211, allocations: 0.5377 MB / 377.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.1211, allocations: 8.031 kB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.525e-05/0.1212, allocations: 32.75 kB / 377.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.1215, allocations: 232.7 kB / 378.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.1215, allocations: 16.81 kB / 378.2 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/0.1216, allocations: 16.38 kB / 378.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.122, allocations: 229.2 kB / 378.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.1221, allocations: 7.953 kB / 378.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.1221, allocations: 4 kB / 378.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.1221, allocations: 7.984 kB / 378.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.1224, allocations: 143.9 kB / 378.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.1237, allocations: 0.7833 MB / 379.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.1241, allocations: 197 kB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.1243, allocations: 109.6 kB / 379.7 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.1244, allocations: 8.141 kB / 379.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1244, allocations: 42.88 kB / 379.7 MB, free: 10.54 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.994e-06/0.1244, allocations: 0 / 379.7 MB, free: 10.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001641/0.1261, allocations: 0.8559 MB / 380.6 MB, free: 9.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.1261, allocations: 81.11 kB / 380.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.1263, allocations: 182.2 kB / 380.8 MB, free: 9.305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.1264, allocations: 25.7 kB / 380.8 MB, free: 9.273 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1265, allocations: 148.5 kB / 381 MB, free: 9.125 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.246e-05/0.1266, allocations: 99.16 kB / 381.1 MB, free: 9.027 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.8e-05/0.1266, allocations: 49.7 kB / 381.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.1269, allocations: 330.8 kB / 381.5 MB, free: 8.641 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.127, allocations: 63.97 kB / 381.5 MB, free: 8.578 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.1272, allocations: 108.2 kB / 381.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.1275, allocations: 196.1 kB / 381.8 MB, free: 8.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1275, allocations: 4 kB / 381.8 MB, free: 8.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004654/0.128, allocations: 245.3 kB / 382.1 MB, free: 8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.128, allocations: 12.06 kB / 382.1 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1281, allocations: 0 / 382.1 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.1281, allocations: 7.938 kB / 382.1 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/0.1284, allocations: 59.91 kB / 382.1 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.1285, allocations: 0 / 382.1 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.1286, allocations: 8 kB / 382.1 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.1286, allocations: 15.98 kB / 382.2 MB, free: 7.898 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.0001607/0.1288, allocations: 149.8 kB / 382.3 MB, free: 7.742 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.091e-05/0.1289, allocations: 19.86 kB / 382.3 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.642e-05/0.129, allocations: 25.88 kB / 382.4 MB, free: 7.699 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.129, allocations: 4 kB / 382.4 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.129, allocations: 0 / 382.4 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.129, allocations: 3.984 kB / 382.4 MB, free: 7.691 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.13, allocations: 0.5943 MB / 383 MB, free: 7.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1301, allocations: 3.984 kB / 383 MB, free: 7.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.1304, allocations: 63.95 kB / 383 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.1304, allocations: 4 kB / 383 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.1304, allocations: 11.94 kB / 383 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1304, allocations: 3.938 kB / 383 MB, free: 6.945 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1304, allocations: 3.938 kB / 383 MB, free: 6.941 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006828/0.1311, allocations: 497 kB / 383.5 MB, free: 6.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.1312, allocations: 93.02 kB / 383.6 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.1312, allocations: 8.031 kB / 383.6 MB, free: 6.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.1314, allocations: 12 kB / 383.6 MB, free: 6.301 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.1315, allocations: 27.84 kB / 383.7 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.1315, allocations: 8 kB / 383.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1316, allocations: 132.3 kB / 383.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1317, allocations: 0 / 383.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003609/0.132, allocations: 48 kB / 383.9 MB, free: 6.09 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.0001366/0.1322, allocations: 107.2 kB / 384 MB, free: 5.973 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004098/0.1326, allocations: 187.7 kB / 384.1 MB, free: 5.789 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1326, allocations: 0 / 384.1 MB, free: 5.789 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.1328, allocations: 92.45 kB / 384.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/0.1333, allocations: 36.12 kB / 384.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.1345, allocations: 0.6988 MB / 385 MB, free: 4.926 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1349, allocations: 0.7402 MB / 385.7 MB, free: 4.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.135, allocations: 21.94 kB / 385.7 MB, free: 4.137 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.1351, allocations: 19.44 kB / 385.7 MB, free: 4.117 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1351, allocations: 0 / 385.7 MB, free: 4.117 MB / 318.1 MB Notification: Performance of Templates: time 0.005394/0.1405, allocations: 2.059 MB / 387.8 MB, free: 2.059 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)