Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.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.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009052/0.009053, allocations: 102.3 kB / 15.73 MB, free: 6.039 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.001455/0.001455, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.547/1.547, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001174/0.001174, allocations: 45.81 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1163, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003522/0.1199, allocations: 2.455 MB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005333/0.1205, allocations: 259 kB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1206, allocations: 4 kB / 375.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.1208, allocations: 43.52 kB / 375.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.1209, allocations: 95.19 kB / 376 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.1211, allocations: 63.92 kB / 376.1 MB, free: 14.4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003193/0.1215, allocations: 330.3 kB / 376.4 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/0.1217, allocations: 99.09 kB / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.1218, allocations: 123.6 kB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.122, allocations: 127.4 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.1221, allocations: 24 kB / 376.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.369e-05/0.1221, allocations: 24 kB / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.237e-05/0.1222, allocations: 55.78 kB / 376.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.1224, allocations: 147.3 kB / 377 MB, free: 13.49 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.1227, allocations: 318.8 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1227, allocations: 0 / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1227, allocations: 0 / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.1227, allocations: 4 kB / 377.3 MB, free: 13.17 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.000979/0.1237, allocations: 0.5576 MB / 377.9 MB, free: 12.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.1238, allocations: 12.03 kB / 377.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.137e-05/0.1239, allocations: 36.56 kB / 377.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.1244, allocations: 247.8 kB / 378.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.1244, allocations: 16.94 kB / 378.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.667e-05/0.1245, allocations: 32.27 kB / 378.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005011/0.125, allocations: 255.1 kB / 378.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.125, allocations: 4.125 kB / 378.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.1251, allocations: 15.94 kB / 378.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1251, allocations: 4 kB / 378.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003363/0.1254, allocations: 187.9 kB / 378.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.1267, allocations: 0.7342 MB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.1271, allocations: 281 kB / 379.7 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.1273, allocations: 130.2 kB / 379.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.1274, allocations: 11.84 kB / 379.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.1274, allocations: 38.56 kB / 379.8 MB, free: 10.44 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.653e-06/0.1274, allocations: 0 / 379.8 MB, free: 10.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002758/0.1302, allocations: 1.712 MB / 381.5 MB, free: 8.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.1303, allocations: 85.11 kB / 381.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1304, allocations: 182.2 kB / 381.8 MB, free: 8.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.1305, allocations: 33.7 kB / 381.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9e-05/0.1306, allocations: 136.7 kB / 382 MB, free: 8.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.1307, allocations: 177.4 kB / 382.1 MB, free: 7.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.1308, allocations: 78.17 kB / 382.2 MB, free: 7.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.131, allocations: 342.8 kB / 382.6 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.1311, allocations: 105.1 kB / 382.7 MB, free: 7.383 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.1314, allocations: 157.5 kB / 382.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.1318, allocations: 278 kB / 383.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1318, allocations: 0 / 383.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005085/0.1323, allocations: 373.9 kB / 383.4 MB, free: 6.559 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1323, allocations: 4.312 kB / 383.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1323, allocations: 4 kB / 383.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.1324, allocations: 0 / 383.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/0.1327, allocations: 107.8 kB / 383.6 MB, free: 6.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.1328, allocations: 0 / 383.6 MB, free: 6.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.1329, allocations: 12 kB / 383.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.1329, allocations: 16 kB / 383.6 MB, free: 6.418 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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.0001494/0.1331, allocations: 145.8 kB / 383.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/0.1331, allocations: 39.62 kB / 383.8 MB, free: 6.227 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.471e-05/0.1332, allocations: 41.86 kB / 383.8 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1333, allocations: 4 kB / 383.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.1333, allocations: 0 / 383.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1333, allocations: 4 kB / 383.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.1345, allocations: 0.948 MB / 384.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.1345, allocations: 4 kB / 384.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/0.1349, allocations: 95.89 kB / 384.9 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.1349, allocations: 7.938 kB / 384.9 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.135, allocations: 11.94 kB / 384.9 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.135, allocations: 4 kB / 384.9 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.135, allocations: 0 / 384.9 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007373/0.1357, allocations: 0.6473 MB / 385.5 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.1358, allocations: 108.7 kB / 385.6 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.1358, allocations: 8 kB / 385.7 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.136, allocations: 12 kB / 385.7 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.1361, allocations: 23.97 kB / 385.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.1361, allocations: 12 kB / 385.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.584e-05/0.1362, allocations: 136.3 kB / 385.8 MB, free: 4.059 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1362, allocations: 0 / 385.8 MB, free: 4.059 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003542/0.1366, allocations: 84 kB / 385.9 MB, free: 3.977 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (48): * Single equations (assignments): 48 * 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.0001338/0.1367, allocations: 107.3 kB / 386 MB, free: 3.859 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004595/0.1372, allocations: 299.6 kB / 386.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1372, allocations: 0 / 386.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.1374, allocations: 155.8 kB / 386.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.138, allocations: 75.78 kB / 386.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.1395, allocations: 0.9818 MB / 387.5 MB, free: 2.324 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.1399, allocations: 0.7764 MB / 388.3 MB, free: 1.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.14, allocations: 34.97 kB / 388.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.629e-05/0.1401, allocations: 27.44 kB / 388.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of SimCode: time 2.455e-06/0.1401, allocations: 0 / 388.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of Templates: time 0.006353/0.1465, allocations: 3.125 MB / 391.5 MB, free: 14.33 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1)