Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 114.3 kB / 21.18 MB, free: 0.6211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 212.9 kB / 24.48 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.429/1.429, allocations: 230.4 MB / 258.1 MB, free: 8.156 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 71.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2159, allocations: 53.32 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004887/0.2208, allocations: 3.69 MB / 435.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.2223, allocations: 0.9549 MB / 436.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.2225, allocations: 8 kB / 436.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.2227, allocations: 87.09 kB / 436.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.223, allocations: 162.5 kB / 436.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.2234, allocations: 159.7 kB / 437.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006316/0.224, allocations: 0.6268 MB / 437.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.2243, allocations: 149.5 kB / 437.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.2246, allocations: 259.1 kB / 438.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003513/0.225, allocations: 278.8 kB / 438.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.415e-05/0.2251, allocations: 52 kB / 438.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.2252, allocations: 56 kB / 438.5 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.2253, allocations: 123.5 kB / 438.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.2255, allocations: 290.5 kB / 438.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006447/0.2262, allocations: 0.6283 MB / 439.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2262, allocations: 0 / 439.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2262, allocations: 0 / 439.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.2262, allocations: 0 / 439.5 MB, free: 15.87 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001519/0.2277, allocations: 0.849 MB / 440.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2277, allocations: 12.03 kB / 440.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.2279, allocations: 68.55 kB / 440.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.2284, allocations: 358.8 kB / 440.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.2285, allocations: 41 kB / 440.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.101e-05/0.2285, allocations: 51.95 kB / 440.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007465/0.2293, allocations: 418.4 kB / 441.3 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.2293, allocations: 0 / 441.3 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/0.2294, allocations: 24 kB / 441.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.2294, allocations: 8 kB / 441.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/0.2301, allocations: 387.8 kB / 441.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.2325, allocations: 1.386 MB / 443.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007818/0.2333, allocations: 479.3 kB / 443.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000669/0.234, allocations: 312 kB / 443.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/0.234, allocations: 12.64 kB / 443.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.234, allocations: 43.16 kB / 443.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 1.824e-06/0.234, allocations: 0 / 443.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006707/0.2407, allocations: 3.022 MB / 447 MB, free: 8.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.2408, allocations: 64.41 kB / 447 MB, free: 8.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.2411, allocations: 272.6 kB / 447.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/0.2411, allocations: 41.7 kB / 447.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.2413, allocations: 209.6 kB / 447.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/0.2416, allocations: 384.6 kB / 447.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.2418, allocations: 150.7 kB / 448.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.242, allocations: 362.8 kB / 448.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.2424, allocations: 237.9 kB / 448.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/0.2429, allocations: 321.4 kB / 449 MB, free: 6.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009886/0.2439, allocations: 0.5728 MB / 449.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2439, allocations: 0 / 449.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001243/0.2452, allocations: 0.7353 MB / 450.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2452, allocations: 10.66 kB / 450.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.2452, allocations: 3.984 kB / 450.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.2452, allocations: 7.938 kB / 450.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007894/0.246, allocations: 199.7 kB / 450.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.246, allocations: 8.062 kB / 450.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.2463, allocations: 31.98 kB / 450.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.2464, allocations: 35.92 kB / 450.6 MB, free: 4.52 MB / 350.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 (117): * Single equations (assignments): 117 * 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.0002433/0.2466, allocations: 193.6 kB / 450.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.2467, allocations: 59.67 kB / 450.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.2469, allocations: 77.62 kB / 450.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.2469, allocations: 3.984 kB / 450.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2469, allocations: 8 kB / 450.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.247, allocations: 132.7 kB / 451 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.81e-05/0.2471, allocations: 16 kB / 451 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.2474, allocations: 23.98 kB / 451.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.2475, allocations: 64.86 kB / 451.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00171/0.2492, allocations: 0.8725 MB / 452 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001877/0.2511, allocations: 1.263 MB / 453.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004928/0.2516, allocations: 323.9 kB / 453.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001942/0.2518, allocations: 199.1 kB / 453.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of Backend: time 3.6e-07/0.2518, allocations: 3.938 kB / 453.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.2529, allocations: 480 kB / 454.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of SimCode: time 0.002247/0.2551, allocations: 1.712 MB / 456 MB, free: 15.02 MB / 366.1 MB Notification: Performance of Templates: time 0.01575/0.2709, allocations: 9.141 MB / 465.1 MB, free: 5.957 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.771761282812804] Failed to read output from testmodel.py, exit status != 0: ['time', 'friction.v_rel', 'innerContactA.s_rel', 'innerContactB.s_rel', 'outerContactA.v_rel', 'outerContactB.s_rel', 'outerContactB.v_rel'] 0.27851177798584104 0.29223089399999996 0.063130251 Calling exit ...