Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 110.8 kB / 21.19 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 211.6 kB / 24.49 MB, free: 3.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.797 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 51.86 kB / 379 MB, free: 2.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2228, allocations: 53.37 MB / 432.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005044/0.2279, allocations: 3.326 MB / 435.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.2298, allocations: 0.9159 MB / 436.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.2301, allocations: 19.81 kB / 436.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.2304, allocations: 83.16 kB / 436.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004437/0.2308, allocations: 162.5 kB / 436.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.2314, allocations: 171.7 kB / 437 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007569/0.2321, allocations: 0.615 MB / 437.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.2324, allocations: 146 kB / 437.8 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004237/0.2328, allocations: 263.1 kB / 438 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003457/0.2332, allocations: 294.7 kB / 438.3 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.945e-05/0.2332, allocations: 48 kB / 438.4 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.2334, allocations: 56 kB / 438.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.2335, allocations: 123.6 kB / 438.5 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.2337, allocations: 235 kB / 438.8 MB, free: 308 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006797/0.2344, allocations: 0.6279 MB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2344, allocations: 0 / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2344, allocations: 0 / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.2344, allocations: 4 kB / 439.4 MB, free: 15.67 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.001586/0.236, allocations: 0.7815 MB / 440.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.236, allocations: 12.03 kB / 440.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.2363, allocations: 68.55 kB / 440.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.2368, allocations: 285.7 kB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.471e-05/0.2368, allocations: 37 kB / 440.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.01e-05/0.2369, allocations: 51.94 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007933/0.2377, allocations: 422.4 kB / 441 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.2377, allocations: 7.984 kB / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/0.2378, allocations: 16 kB / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.2378, allocations: 15.94 kB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007433/0.2385, allocations: 383.7 kB / 441.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.2409, allocations: 1.165 MB / 442.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008074/0.2417, allocations: 475.9 kB / 443.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006741/0.2423, allocations: 312.1 kB / 443.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.2424, allocations: 8.656 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.2424, allocations: 35.22 kB / 443.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.104e-06/0.2424, allocations: 4 kB / 443.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006849/0.2493, allocations: 2.87 MB / 446.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.2493, allocations: 64.39 kB / 446.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.2496, allocations: 264.2 kB / 446.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/0.2497, allocations: 49.64 kB / 446.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.2498, allocations: 209.5 kB / 446.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002994/0.2501, allocations: 384.7 kB / 447.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.2503, allocations: 150.6 kB / 447.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2505, allocations: 362.8 kB / 447.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004693/0.251, allocations: 241.8 kB / 448 MB, free: 6.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005294/0.2515, allocations: 317.4 kB / 448.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009985/0.2525, allocations: 0.5727 MB / 448.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2525, allocations: 0 / 448.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001251/0.2538, allocations: 0.7393 MB / 449.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2538, allocations: 4 kB / 449.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.2538, allocations: 11.98 kB / 449.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.2538, allocations: 4 kB / 449.6 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008243/0.2546, allocations: 195.7 kB / 449.8 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.2546, allocations: 4 kB / 449.8 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.255, allocations: 27.98 kB / 449.8 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-05/0.255, allocations: 31.98 kB / 449.9 MB, free: 4.938 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.0002525/0.2553, allocations: 205.7 kB / 450.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.2554, allocations: 59.61 kB / 450.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.2555, allocations: 77.56 kB / 450.2 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.2556, allocations: 3.984 kB / 450.2 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2556, allocations: 0 / 450.2 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.2556, allocations: 47.62 kB / 450.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/0.2557, allocations: 19.98 kB / 450.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.256, allocations: 31.98 kB / 450.3 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.2562, allocations: 60.88 kB / 450.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001703/0.2579, allocations: 0.8686 MB / 451.2 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001909/0.2598, allocations: 1.267 MB / 452.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005133/0.2603, allocations: 323.9 kB / 452.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.2605, allocations: 187.1 kB / 453 MB, free: 1.773 MB / 350.1 MB Notification: Performance of Backend: time 4.01e-07/0.2605, allocations: 0 / 453 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.2616, allocations: 486.7 kB / 453.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of SimCode: time 0.002336/0.2639, allocations: 1.717 MB / 455.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of Templates: time 0.01772/0.2816, allocations: 10.46 MB / 465.7 MB, free: 5.227 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.897629296996456] 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.28967375899810577 0.303788286 0.066351746 Calling exit ...