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.006609/0.00661, allocations: 97.38 kB / 15.73 MB, free: 6.066 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.001612/0.001612, allocations: 195.5 kB / 16.68 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.609/1.609, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001194/0.001194, allocations: 46.34 kB / 326.5 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1085, 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.003653/0.1122, allocations: 2.463 MB / 375.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005858/0.1128, allocations: 255 kB / 375.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.113, allocations: 4 kB / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.1132, allocations: 51.5 kB / 375.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.1134, allocations: 91.19 kB / 376 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.1136, allocations: 59.92 kB / 376.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000396/0.114, allocations: 326.3 kB / 376.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002682/0.1143, allocations: 103.1 kB / 376.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1145, allocations: 115.6 kB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.1147, allocations: 127.4 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.969e-05/0.1148, allocations: 24 kB / 376.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.67e-05/0.1149, allocations: 24 kB / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.928e-05/0.1149, allocations: 71.69 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.1151, allocations: 143.3 kB / 377 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000444/0.1156, allocations: 314.7 kB / 377.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1156, allocations: 3.984 kB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1156, allocations: 0 / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.1156, allocations: 0 / 377.3 MB, free: 13.16 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.0009925/0.1166, allocations: 0.5689 MB / 377.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.1167, allocations: 8.031 kB / 377.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.282e-05/0.1167, allocations: 32.75 kB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.1172, allocations: 255.8 kB / 378.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.1172, allocations: 16.94 kB / 378.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.358e-05/0.1173, allocations: 28.38 kB / 378.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004991/0.1178, allocations: 259.1 kB / 378.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.1178, allocations: 4.141 kB / 378.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.1179, allocations: 19.94 kB / 378.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.1179, allocations: 4 kB / 378.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.1182, allocations: 179.9 kB / 378.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.1193, allocations: 0.746 MB / 379.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.1197, allocations: 286 kB / 379.7 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.1199, allocations: 121.6 kB / 379.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.1199, allocations: 4 kB / 379.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.12, allocations: 50.48 kB / 379.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.863e-06/0.12, allocations: 0 / 379.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002846/0.1228, allocations: 1.709 MB / 381.6 MB, free: 8.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/0.1229, allocations: 81.11 kB / 381.6 MB, free: 8.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.1231, allocations: 190.1 kB / 381.8 MB, free: 8.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.1232, allocations: 33.7 kB / 381.9 MB, free: 8.195 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1233, allocations: 144.8 kB / 382 MB, free: 8.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.1235, allocations: 178.4 kB / 382.2 MB, free: 7.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.1236, allocations: 82.25 kB / 382.3 MB, free: 7.789 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1238, allocations: 334.8 kB / 382.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.1239, allocations: 105.1 kB / 382.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.1241, allocations: 153.5 kB / 382.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.1245, allocations: 290 kB / 383.1 MB, free: 6.891 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1245, allocations: 0 / 383.1 MB, free: 6.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004953/0.125, allocations: 370 kB / 383.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1251, allocations: 8.625 kB / 383.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.1251, allocations: 0 / 383.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.1251, allocations: 4 kB / 383.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.1255, allocations: 103.8 kB / 383.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.1255, allocations: 4 kB / 383.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.1256, allocations: 8.062 kB / 383.6 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.1256, allocations: 16 kB / 383.6 MB, free: 6.383 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.000138/0.1258, allocations: 149.8 kB / 383.8 MB, free: 6.227 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.1259, allocations: 35.75 kB / 383.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.677e-05/0.126, allocations: 37.88 kB / 383.8 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.126, allocations: 4 kB / 383.8 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.126, allocations: 7.938 kB / 383.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.126, allocations: 7.984 kB / 383.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.1272, allocations: 0.9521 MB / 384.8 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1272, allocations: 0 / 384.8 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.1276, allocations: 91.91 kB / 384.9 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1276, allocations: 4 kB / 384.9 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.1277, allocations: 19.92 kB / 384.9 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1277, allocations: 3.938 kB / 384.9 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1277, allocations: 8.062 kB / 384.9 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007329/0.1284, allocations: 0.6319 MB / 385.6 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.851e-05/0.1285, allocations: 104.9 kB / 385.7 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.1285, allocations: 12 kB / 385.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.1287, allocations: 12 kB / 385.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.1288, allocations: 27.95 kB / 385.7 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.1288, allocations: 16 kB / 385.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.129, allocations: 132.3 kB / 385.9 MB, free: 4.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.129, allocations: 0 / 385.9 MB, free: 4.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003556/0.1293, allocations: 79.98 kB / 385.9 MB, free: 3.941 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.000139/0.1295, allocations: 115.1 kB / 386.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004686/0.1299, allocations: 299.6 kB / 386.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.13, allocations: 0 / 386.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.1302, allocations: 151.8 kB / 386.5 MB, free: 3.375 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005929/0.1308, allocations: 75.7 kB / 386.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.1323, allocations: 0.9928 MB / 387.6 MB, free: 2.273 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.1326, allocations: 0.7764 MB / 388.3 MB, free: 1.469 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.1327, allocations: 34.95 kB / 388.4 MB, free: 1.434 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.478e-05/0.1328, allocations: 31.38 kB / 388.4 MB, free: 1.402 MB / 318.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1328, allocations: 4 kB / 388.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of Templates: time 0.006167/0.139, allocations: 3.113 MB / 391.5 MB, free: 14.28 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)