Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 103 kB / 17.74 MB, free: 5.305 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.001627/0.001627, allocations: 198.5 kB / 18.67 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009578/0.0009578, allocations: 51.91 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.207, allocations: 49.43 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004192/0.2112, allocations: 3.546 MB / 404.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2125, allocations: 0.8723 MB / 405.8 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.2126, allocations: 11.94 kB / 405.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.2128, allocations: 79.22 kB / 405.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.2131, allocations: 154.6 kB / 406.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.2134, allocations: 151.7 kB / 406.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004937/0.2139, allocations: 0.5957 MB / 406.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.2142, allocations: 193.5 kB / 407 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.2145, allocations: 243.2 kB / 407.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.2148, allocations: 266.9 kB / 407.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.947e-05/0.2149, allocations: 52 kB / 407.5 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.785e-05/0.215, allocations: 52 kB / 407.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.232e-05/0.2151, allocations: 123.6 kB / 407.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.2153, allocations: 274.7 kB / 408 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004988/0.2158, allocations: 0.5927 MB / 408.6 MB, free: 1.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2158, allocations: 4 kB / 408.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2158, allocations: 0 / 408.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.2158, allocations: 0 / 408.6 MB, free: 1.676 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001596/0.2174, allocations: 0.8381 MB / 409.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.2175, allocations: 12.03 kB / 409.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.527e-05/0.2176, allocations: 60.22 kB / 409.5 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.218, allocations: 331.3 kB / 409.8 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.218, allocations: 33.38 kB / 409.8 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.339e-05/0.2181, allocations: 48.38 kB / 409.9 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00091/0.219, allocations: 462.7 kB / 410.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.219, allocations: 4 kB / 410.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.2191, allocations: 16 kB / 410.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.2191, allocations: 15.98 kB / 410.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.2202, allocations: 459.6 kB / 410.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.2226, allocations: 1.37 MB / 412.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.2236, allocations: 0.5442 MB / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008068/0.2245, allocations: 375.7 kB / 413.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.2245, allocations: 8.562 kB / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.343e-05/0.2246, allocations: 39.12 kB / 413.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 2.434e-06/0.2246, allocations: 0 / 413.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=103): time 0.007514/0.2321, allocations: 3.135 MB / 416.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.2322, allocations: 68.41 kB / 416.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.2325, allocations: 254.9 kB / 416.6 MB, free: 9.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.2325, allocations: 41.7 kB / 416.6 MB, free: 9.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.2327, allocations: 193.3 kB / 416.8 MB, free: 9.129 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.2329, allocations: 350.8 kB / 417.2 MB, free: 8.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.2331, allocations: 142.7 kB / 417.3 MB, free: 8.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2332, allocations: 362.8 kB / 417.7 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005828/0.2338, allocations: 273.9 kB / 417.9 MB, free: 8.004 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000712/0.2345, allocations: 349.4 kB / 418.3 MB, free: 7.656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.2358, allocations: 0.6234 MB / 418.9 MB, free: 7.027 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2358, allocations: 0 / 418.9 MB, free: 7.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001478/0.2373, allocations: 0.7858 MB / 419.7 MB, free: 6.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2373, allocations: 4 kB / 419.7 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2373, allocations: 0 / 419.7 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2374, allocations: 7.938 kB / 419.7 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008647/0.2382, allocations: 211.8 kB / 419.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.2383, allocations: 4 kB / 419.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/0.2386, allocations: 51.89 kB / 420 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/0.2387, allocations: 31.98 kB / 420 MB, free: 5.926 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.000225/0.2389, allocations: 197.6 kB / 420.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.983e-05/0.239, allocations: 51.34 kB / 420.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.2392, allocations: 73.41 kB / 420.3 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.2392, allocations: 11.91 kB / 420.3 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2392, allocations: 0 / 420.3 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-05/0.2393, allocations: 120.5 kB / 420.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.276e-05/0.2394, allocations: 20 kB / 420.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.2398, allocations: 43.95 kB / 420.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.854e-05/0.2399, allocations: 56.92 kB / 420.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002051/0.2419, allocations: 0.9311 MB / 421.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002295/0.2443, allocations: 1.348 MB / 422.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007085/0.245, allocations: 391.8 kB / 423.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.2451, allocations: 174 kB / 423.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of Backend: time 4.1e-07/0.2451, allocations: 0 / 423.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.2463, allocations: 0.5466 MB / 423.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of SimCode: time 0.002041/0.2484, allocations: 1.631 MB / 425.6 MB, free: 248 kB / 334.1 MB Notification: Performance of Templates: time 0.01383/0.2622, allocations: 8.296 MB / 433.9 MB, free: 8.004 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1)