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.01012/0.01012, allocations: 100.5 kB / 15.73 MB, free: 6.477 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.00195/0.00195, allocations: 189 kB / 16.67 MB, free: 6.391 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.569/1.569, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.001308/0.001308, allocations: 50.8 kB / 326.5 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09641/0.09773, allocations: 46.63 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003413/0.1012, allocations: 2.451 MB / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006785/0.1019, allocations: 251.1 kB / 375.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.1021, allocations: 11.94 kB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.1023, allocations: 43.58 kB / 375.9 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.1026, allocations: 91.19 kB / 376 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.1028, allocations: 59.91 kB / 376.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.1032, allocations: 330.3 kB / 376.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/0.1034, allocations: 107.1 kB / 376.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.1036, allocations: 115.6 kB / 376.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.1038, allocations: 135.4 kB / 376.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.414e-05/0.1039, allocations: 28 kB / 376.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.618e-05/0.1039, allocations: 24 kB / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.104, allocations: 59.77 kB / 376.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.1042, allocations: 139.3 kB / 377 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.1045, allocations: 318.9 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1045, allocations: 0 / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1045, allocations: 0 / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1046, allocations: 3.938 kB / 377.3 MB, free: 13.18 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.001008/0.1056, allocations: 0.5692 MB / 377.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.1056, allocations: 8.031 kB / 377.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.1058, allocations: 32.56 kB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.1062, allocations: 243.9 kB / 378.1 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.1062, allocations: 16.94 kB / 378.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.1063, allocations: 40.28 kB / 378.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/0.1067, allocations: 255.1 kB / 378.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.1068, allocations: 4.188 kB / 378.5 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.1068, allocations: 15.94 kB / 378.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.1068, allocations: 4 kB / 378.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/0.1072, allocations: 175.9 kB / 378.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.1084, allocations: 0.742 MB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004661/0.1089, allocations: 277 kB / 379.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.1091, allocations: 126.2 kB / 379.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.1091, allocations: 11.91 kB / 379.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.1092, allocations: 46.44 kB / 379.8 MB, free: 10.45 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.523e-06/0.1092, allocations: 0 / 379.8 MB, free: 10.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002678/0.1119, allocations: 1.7 MB / 381.5 MB, free: 8.566 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.1119, allocations: 81.11 kB / 381.6 MB, free: 8.469 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.1121, allocations: 182.2 kB / 381.8 MB, free: 8.281 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.1122, allocations: 41.7 kB / 381.8 MB, free: 8.234 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.1123, allocations: 136.7 kB / 382 MB, free: 8.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.1124, allocations: 173.5 kB / 382.1 MB, free: 7.926 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.1126, allocations: 82.16 kB / 382.2 MB, free: 7.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1127, allocations: 334.8 kB / 382.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.1129, allocations: 105.1 kB / 382.6 MB, free: 7.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.1131, allocations: 153.5 kB / 382.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.1135, allocations: 286 kB / 383.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1135, allocations: 4 kB / 383.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005301/0.1141, allocations: 365.9 kB / 383.4 MB, free: 6.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.1141, allocations: 8.312 kB / 383.4 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1141, allocations: 3.984 kB / 383.4 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.1141, allocations: 4 kB / 383.5 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.1145, allocations: 107.9 kB / 383.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.1146, allocations: 4 kB / 383.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.1147, allocations: 8 kB / 383.6 MB, free: 6.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.1147, allocations: 12 kB / 383.6 MB, free: 6.434 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.0001395/0.1149, allocations: 153.7 kB / 383.7 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.1149, allocations: 35.56 kB / 383.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.29e-05/0.115, allocations: 41.8 kB / 383.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.115, allocations: 8 kB / 383.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.1151, allocations: 8 kB / 383.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1151, allocations: 3.984 kB / 383.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.1163, allocations: 0.9442 MB / 384.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1163, allocations: 0 / 384.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/0.1167, allocations: 91.89 kB / 384.9 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.1168, allocations: 12.05 kB / 384.9 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.1168, allocations: 15.94 kB / 384.9 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1168, allocations: 0 / 384.9 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.1168, allocations: 4 kB / 384.9 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000734/0.1175, allocations: 0.6395 MB / 385.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.127e-05/0.1176, allocations: 108.7 kB / 385.6 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.1177, allocations: 12 kB / 385.6 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.1178, allocations: 8 kB / 385.7 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.1179, allocations: 23.97 kB / 385.7 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.1179, allocations: 19.98 kB / 385.7 MB, free: 4.195 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.118, allocations: 132.3 kB / 385.8 MB, free: 4.066 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.118, allocations: 0 / 385.8 MB, free: 4.066 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003599/0.1184, allocations: 76 kB / 385.9 MB, free: 3.992 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.0001394/0.1186, allocations: 115.1 kB / 386 MB, free: 3.867 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004659/0.119, allocations: 299.6 kB / 386.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.119, allocations: 0 / 386.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.1192, allocations: 151.8 kB / 386.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/0.1198, allocations: 79.81 kB / 386.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.1212, allocations: 0.9934 MB / 387.5 MB, free: 2.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.1216, allocations: 0.7726 MB / 388.3 MB, free: 1.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.1217, allocations: 38.94 kB / 388.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.559e-05/0.1218, allocations: 27.44 kB / 388.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1218, allocations: 0 / 388.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of Templates: time 0.006278/0.1281, allocations: 3.113 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)