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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 186.8 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 55.92 kB / 371.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2227, allocations: 52.17 MB / 423.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004609/0.2273, allocations: 3.238 MB / 426.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.2288, allocations: 0.845 MB / 427.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.229, allocations: 11.94 kB / 427.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.2292, allocations: 75.17 kB / 427.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.2294, allocations: 146.7 kB / 427.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.2298, allocations: 159.7 kB / 427.8 MB, free: 9.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005937/0.2304, allocations: 0.6034 MB / 428.4 MB, free: 9.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/0.2307, allocations: 130 kB / 428.5 MB, free: 9.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002942/0.231, allocations: 255.2 kB / 428.8 MB, free: 8.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003219/0.2313, allocations: 270.8 kB / 429.1 MB, free: 8.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.57e-05/0.2314, allocations: 55.98 kB / 429.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.639e-05/0.2315, allocations: 52 kB / 429.2 MB, free: 8.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2316, allocations: 115.6 kB / 429.3 MB, free: 8.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.2318, allocations: 227 kB / 429.5 MB, free: 8.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006135/0.2324, allocations: 0.6052 MB / 430.1 MB, free: 7.641 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.316e-05/0.2324, allocations: 4 kB / 430.1 MB, free: 7.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2324, allocations: 4 kB / 430.1 MB, free: 7.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.2325, allocations: 0 / 430.1 MB, free: 7.633 MB / 334.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.001525/0.234, allocations: 0.7809 MB / 430.9 MB, free: 6.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.234, allocations: 12.02 kB / 430.9 MB, free: 6.812 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.8e-05/0.234, allocations: 13.19 kB / 430.9 MB, free: 6.797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.357e-05/0.2341, allocations: 86.72 kB / 431 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.121e-05/0.2342, allocations: 56.61 kB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.2347, allocations: 265.1 kB / 431.3 MB, free: 6.367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.2347, allocations: 45.34 kB / 431.4 MB, free: 6.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.183e-05/0.2348, allocations: 52.33 kB / 431.4 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009004/0.2357, allocations: 450.3 kB / 431.9 MB, free: 5.828 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.2357, allocations: 4 kB / 431.9 MB, free: 5.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.633e-05/0.2357, allocations: 20 kB / 431.9 MB, free: 5.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.2358, allocations: 12 kB / 431.9 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009921/0.2368, allocations: 459.6 kB / 432.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.239, allocations: 1.227 MB / 433.6 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009172/0.2399, allocations: 0.4993 MB / 434.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007625/0.2407, allocations: 351.9 kB / 434.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.2407, allocations: 12.64 kB / 434.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.2408, allocations: 43.22 kB / 434.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 2.505e-06/0.2408, allocations: 0 / 434.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=103): time 0.007067/0.2478, allocations: 3 MB / 437.5 MB, free: 104 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.2479, allocations: 68.41 kB / 437.5 MB, free: 20 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.2481, allocations: 252.2 kB / 437.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.2482, allocations: 41.7 kB / 437.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.2483, allocations: 205.4 kB / 438 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/0.2486, allocations: 368.8 kB / 438.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.2488, allocations: 146.7 kB / 438.5 MB, free: 15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.249, allocations: 358.8 kB / 438.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005688/0.2495, allocations: 273.8 kB / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006226/0.2502, allocations: 353.4 kB / 439.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.2513, allocations: 0.6234 MB / 440.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2513, allocations: 3.938 kB / 440.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001417/0.2527, allocations: 0.7862 MB / 440.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.2528, allocations: 7.938 kB / 440.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.2528, allocations: 0 / 440.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.2528, allocations: 4 kB / 440.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007942/0.2536, allocations: 207.8 kB / 441.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.2536, allocations: 4 kB / 441.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.2539, allocations: 47.91 kB / 441.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/0.254, allocations: 35.92 kB / 441.2 MB, free: 12.3 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 (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.0002381/0.2542, allocations: 193.7 kB / 441.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/0.2543, allocations: 59.61 kB / 441.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.2545, allocations: 69.39 kB / 441.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.2545, allocations: 12 kB / 441.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-06/0.2545, allocations: 0 / 441.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.2545, allocations: 7.984 kB / 441.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.2575, allocations: 1.84 MB / 443.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.2575, allocations: 4 kB / 443.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007858/0.2583, allocations: 199.7 kB / 443.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.2583, allocations: 11.94 kB / 443.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/0.2584, allocations: 31.98 kB / 443.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/0.2584, allocations: 12.41 kB / 443.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.2584, allocations: 8 kB / 443.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.2606, allocations: 1.373 MB / 445 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.819e-05/0.2607, allocations: 51.73 kB / 445.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.066e-05/0.2607, allocations: 31.92 kB / 445.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.2611, allocations: 43.97 kB / 445.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.2612, allocations: 76.75 kB / 445.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.291e-05/0.2613, allocations: 35.98 kB / 445.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.2615, allocations: 183.1 kB / 445.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2615, allocations: 0 / 445.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004818/0.2619, allocations: 156 kB / 445.6 MB, free: 7.723 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.002523/0.2645, allocations: 1.948 MB / 447.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.2658, allocations: 0.6957 MB / 448.2 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.2658, allocations: 4 kB / 448.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007501/0.2666, allocations: 426.6 kB / 448.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007158/0.2673, allocations: 105.2 kB / 448.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007621/0.2749, allocations: 5.298 MB / 454 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.2752, allocations: 268.5 kB / 454.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002995/0.2755, allocations: 72.98 kB / 454.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.2758, allocations: 195.4 kB / 454.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.2758, allocations: 0 / 454.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/0.3117, allocations: 12.51 MB / 467.1 MB, free: 2.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.47, allocations: 17.78 kB / 467.1 MB, free: 2.133 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.74496636504773] 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'] 11.639562068972737 11.668263879 11.430185583 Calling exit ...