Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.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.007687/0.007687, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001406/0.001406, allocations: 188.9 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.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.001165/0.001165, allocations: 45.53 kB / 326.5 MB, free: 14.57 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1144, allocations: 46.63 MB / 373.2 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003634/0.1181, allocations: 2.455 MB / 375.6 MB, free: 14.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005836/0.1187, allocations: 259 kB / 375.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.1189, allocations: 4 kB / 375.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.1191, allocations: 43.52 kB / 375.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.1193, allocations: 91.19 kB / 376 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.1195, allocations: 63.91 kB / 376.1 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.1199, allocations: 330.3 kB / 376.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.1201, allocations: 107.1 kB / 376.5 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1202, allocations: 111.6 kB / 376.6 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.1204, allocations: 131.4 kB / 376.7 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.1204, allocations: 24 kB / 376.8 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.692e-05/0.1205, allocations: 24 kB / 376.8 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.1206, allocations: 55.78 kB / 376.8 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.1207, allocations: 147.3 kB / 377 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.121, allocations: 318.6 kB / 377.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.121, allocations: 0 / 377.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1211, allocations: 0 / 377.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1211, allocations: 4 kB / 377.3 MB, free: 13.27 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.0008374/0.1219, allocations: 0.5689 MB / 377.9 MB, free: 12.65 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.122, allocations: 12.03 kB / 377.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.045e-05/0.122, allocations: 32.75 kB / 377.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.1224, allocations: 251.9 kB / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.1224, allocations: 20.92 kB / 378.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.227e-05/0.1225, allocations: 28.38 kB / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.1229, allocations: 247.2 kB / 378.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.1229, allocations: 8.078 kB / 378.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.1229, allocations: 15.94 kB / 378.5 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.123, allocations: 7.984 kB / 378.5 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.1233, allocations: 183.9 kB / 378.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.1243, allocations: 0.746 MB / 379.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.1247, allocations: 281 kB / 379.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.1249, allocations: 133.6 kB / 379.8 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1249, allocations: 8 kB / 379.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.125, allocations: 34.56 kB / 379.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.483e-06/0.125, allocations: 4 kB / 379.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002663/0.1276, allocations: 1.713 MB / 381.6 MB, free: 8.633 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.1277, allocations: 85.11 kB / 381.6 MB, free: 8.531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.1279, allocations: 182.2 kB / 381.8 MB, free: 8.344 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1279, allocations: 33.7 kB / 381.9 MB, free: 8.305 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.128, allocations: 140.8 kB / 382 MB, free: 8.164 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.1282, allocations: 182.4 kB / 382.2 MB, free: 7.984 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.1283, allocations: 78.2 kB / 382.2 MB, free: 7.902 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1284, allocations: 342.8 kB / 382.6 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.1286, allocations: 105.1 kB / 382.7 MB, free: 7.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.1288, allocations: 157.5 kB / 382.8 MB, free: 7.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.1292, allocations: 282 kB / 383.1 MB, free: 7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1292, allocations: 0 / 383.1 MB, free: 7 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004969/0.1297, allocations: 374 kB / 383.5 MB, free: 6.629 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1297, allocations: 4.625 kB / 383.5 MB, free: 6.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1297, allocations: 4 kB / 383.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1298, allocations: 4 kB / 383.5 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.1301, allocations: 103.8 kB / 383.6 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.1302, allocations: 4 kB / 383.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.1303, allocations: 8 kB / 383.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.1303, allocations: 16 kB / 383.6 MB, free: 6.488 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.0001507/0.1305, allocations: 145.8 kB / 383.8 MB, free: 6.336 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.1305, allocations: 39.81 kB / 383.8 MB, free: 6.297 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.98e-05/0.1306, allocations: 41.86 kB / 383.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1306, allocations: 7.938 kB / 383.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.1307, allocations: 0 / 383.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1307, allocations: 4 kB / 383.9 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.1319, allocations: 0.9521 MB / 384.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1319, allocations: 0 / 384.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.1323, allocations: 95.89 kB / 384.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.1323, allocations: 8 kB / 384.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.1323, allocations: 19.88 kB / 384.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1323, allocations: 0 / 384.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.1323, allocations: 4 kB / 384.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007402/0.1331, allocations: 0.6359 MB / 385.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.1332, allocations: 108.8 kB / 385.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.1332, allocations: 12 kB / 385.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.1334, allocations: 8 kB / 385.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.1334, allocations: 23.97 kB / 385.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1334, allocations: 12 kB / 385.7 MB, free: 4.262 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.608e-05/0.1335, allocations: 136.3 kB / 385.9 MB, free: 4.129 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1336, allocations: 4 kB / 385.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003762/0.1339, allocations: 80 kB / 385.9 MB, free: 4.047 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.0001368/0.1341, allocations: 107.2 kB / 386 MB, free: 3.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004666/0.1346, allocations: 295.6 kB / 386.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1346, allocations: 0 / 386.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.1348, allocations: 155.8 kB / 386.5 MB, free: 3.488 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.1354, allocations: 87.66 kB / 386.6 MB, free: 3.402 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.137, allocations: 0.9925 MB / 387.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.1374, allocations: 0.7764 MB / 388.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.1376, allocations: 34.97 kB / 388.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.546e-05/0.1377, allocations: 27.44 kB / 388.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1377, allocations: 0 / 388.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of Templates: time 0.006471/0.1441, allocations: 3.125 MB / 391.5 MB, free: 14.38 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1)