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.0008898/0.0008898, allocations: 92 kB / 15.06 MB, free: 1.098 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.001004/0.001004, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.000439/0.000439, allocations: 16 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.214, allocations: 47.58 MB / 326.5 MB, free: 1.508 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002286/0.2163, allocations: 2.06 MB / 328.5 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004795/0.2168, allocations: 257.6 kB / 328.8 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.217, allocations: 3.75 kB / 328.8 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.2171, allocations: 37.45 kB / 328.8 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.2172, allocations: 70.73 kB / 328.9 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.2174, allocations: 47 kB / 328.9 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00032/0.2178, allocations: 297.5 kB / 329.2 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.218, allocations: 78.5 kB / 329.3 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.2181, allocations: 93.78 kB / 329.4 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.2183, allocations: 120 kB / 329.5 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.2183, allocations: 13.34 kB / 329.5 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.861e-05/0.2184, allocations: 13.5 kB / 329.5 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.2184, allocations: 43.66 kB / 329.6 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.502e-05/0.2185, allocations: 78.64 kB / 329.7 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.2188, allocations: 228.7 kB / 329.9 MB, free: 14.93 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2188, allocations: 0 / 329.9 MB, free: 14.93 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.2188, allocations: 1 kB / 329.9 MB, free: 14.93 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.2188, allocations: 0 / 329.9 MB, free: 14.93 MB / 270.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.0008167/0.2196, allocations: 0.5256 MB / 330.4 MB, free: 14.44 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.2197, allocations: 9.875 kB / 330.4 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.297e-05/0.2198, allocations: 35.72 kB / 330.4 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.2201, allocations: 241.5 kB / 330.7 MB, free: 14.17 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.2201, allocations: 22.3 kB / 330.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/0.2202, allocations: 29.88 kB / 330.7 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/0.2207, allocations: 251.7 kB / 331 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.2207, allocations: 1.938 kB / 331 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.2208, allocations: 13.95 kB / 331 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.2208, allocations: 6.25 kB / 331 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.2211, allocations: 176.8 kB / 331.2 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.2222, allocations: 0.7533 MB / 331.9 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004521/0.2227, allocations: 277.3 kB / 332.2 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.2229, allocations: 118.2 kB / 332.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.223, allocations: 7.781 kB / 332.3 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.223, allocations: 49.02 kB / 332.4 MB, free: 12.96 MB / 270.1 MB Notification: Performance of pre-optimization done (n=36): time 1.724e-06/0.223, allocations: 0 / 332.4 MB, free: 12.96 MB / 270.1 MB Notification: Performance of matching and sorting (n=48): time 0.002728/0.2257, allocations: 1.703 MB / 334.1 MB, free: 11.61 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.2258, allocations: 86.12 kB / 334.2 MB, free: 11.52 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.226, allocations: 180.3 kB / 334.3 MB, free: 11.34 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.2261, allocations: 33.64 kB / 334.4 MB, free: 11.3 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/0.2262, allocations: 148.6 kB / 334.5 MB, free: 11.15 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.2263, allocations: 165.5 kB / 334.7 MB, free: 10.99 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.2263, allocations: 8 kB / 334.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2264, allocations: 342.8 kB / 335 MB, free: 10.64 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.2266, allocations: 101.1 kB / 335.1 MB, free: 10.54 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.2268, allocations: 157.5 kB / 335.3 MB, free: 10.37 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.227, allocations: 130.3 kB / 335.4 MB, free: 10.24 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2271, allocations: 0 / 335.4 MB, free: 10.24 MB / 270.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005176/0.2276, allocations: 370.2 kB / 335.8 MB, free: 9.875 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2276, allocations: 7.984 kB / 335.8 MB, free: 9.867 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2276, allocations: 4.062 kB / 335.8 MB, free: 9.863 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2276, allocations: 4 kB / 335.8 MB, free: 9.859 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.228, allocations: 91.91 kB / 335.9 MB, free: 9.77 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.228, allocations: 7.984 kB / 335.9 MB, free: 9.762 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.2282, allocations: 16 kB / 335.9 MB, free: 9.746 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.2282, allocations: 12 kB / 335.9 MB, free: 9.734 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.2284, allocations: 153.7 kB / 336 MB, free: 9.574 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.934e-05/0.2284, allocations: 27.67 kB / 336.1 MB, free: 9.547 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.68e-05/0.2285, allocations: 45.88 kB / 336.1 MB, free: 9.504 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2285, allocations: 7.984 kB / 336.1 MB, free: 9.496 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.2286, allocations: 0 / 336.1 MB, free: 9.496 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2286, allocations: 0 / 336.1 MB, free: 9.496 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.2298, allocations: 0.9554 MB / 337.1 MB, free: 8.477 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.2298, allocations: 0 / 337.1 MB, free: 8.477 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.2302, allocations: 99.83 kB / 337.2 MB, free: 8.379 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.2302, allocations: 4 kB / 337.2 MB, free: 8.375 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.2303, allocations: 15.95 kB / 337.2 MB, free: 8.359 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.2303, allocations: 4 kB / 337.2 MB, free: 8.355 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.2303, allocations: 64 / 337.2 MB, free: 8.355 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000766/0.231, allocations: 0.6356 MB / 337.8 MB, free: 7.695 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.96e-05/0.2311, allocations: 104.7 kB / 337.9 MB, free: 7.574 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.2312, allocations: 12 kB / 338 MB, free: 7.562 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.2314, allocations: 11.94 kB / 338 MB, free: 7.551 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.2314, allocations: 35.91 kB / 338 MB, free: 7.516 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.2314, allocations: 12 kB / 338 MB, free: 7.504 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.2316, allocations: 137.5 kB / 338.1 MB, free: 7.371 MB / 270.1 MB Notification: Performance of sort global known variables: time 3e-07/0.2316, allocations: 0 / 338.1 MB, free: 7.371 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004045/0.232, allocations: 76 kB / 338.2 MB, free: 7.297 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001217/0.2321, allocations: 107.3 kB / 338.3 MB, free: 7.184 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004617/0.2326, allocations: 290.8 kB / 338.6 MB, free: 6.898 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2326, allocations: 0 / 338.6 MB, free: 6.898 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.2328, allocations: 160.5 kB / 338.8 MB, free: 6.742 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.2334, allocations: 63.95 kB / 338.8 MB, free: 6.68 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.2351, allocations: 1.219 MB / 340 MB, free: 5.422 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.2354, allocations: 0.7767 MB / 340.8 MB, free: 4.613 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.2356, allocations: 30.97 kB / 340.9 MB, free: 4.586 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.926e-05/0.2357, allocations: 27.44 kB / 340.9 MB, free: 4.562 MB / 270.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2357, allocations: 0 / 340.9 MB, free: 4.562 MB / 270.1 MB Notification: Performance of Templates: time 0.005896/0.2416, allocations: 2.77 MB / 343.7 MB, free: 1.793 MB / 270.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)