Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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.001428/0.001428, allocations: 105.1 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.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.001597/0.001597, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.354/1.354, allocations: 230.6 MB / 258.3 MB, free: 7.801 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 47.92 kB / 378.5 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2316, allocations: 53.36 MB / 431.8 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003516/0.2351, allocations: 2.223 MB / 434.1 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.2364, allocations: 0.7244 MB / 434.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.2365, allocations: 7.938 kB / 434.8 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.2367, allocations: 39.58 kB / 434.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.2369, allocations: 95.33 kB / 434.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.2373, allocations: 111.7 kB / 435 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.2376, allocations: 306.6 kB / 435.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.2378, allocations: 47.02 kB / 435.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.2379, allocations: 119.6 kB / 435.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.2381, allocations: 127.4 kB / 435.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.2381, allocations: 24 kB / 435.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.491e-05/0.2381, allocations: 20 kB / 435.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.056e-05/0.2382, allocations: 55.77 kB / 435.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.2383, allocations: 111.5 kB / 435.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.2386, allocations: 274.8 kB / 436.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2386, allocations: 0 / 436.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2386, allocations: 0 / 436.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.2387, allocations: 0 / 436.1 MB, free: 2.367 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009107/0.2396, allocations: 489.5 kB / 436.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2396, allocations: 12.03 kB / 436.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.55e-05/0.2396, allocations: 8.562 kB / 436.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.447e-05/0.2397, allocations: 54.73 kB / 436.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.2397, allocations: 28.75 kB / 436.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.2401, allocations: 199.8 kB / 436.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.2401, allocations: 24.8 kB / 436.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.2402, allocations: 24.38 kB / 436.9 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.2406, allocations: 234.6 kB / 437.2 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.2407, allocations: 11.95 kB / 437.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.2407, allocations: 8 kB / 437.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.2407, allocations: 4 kB / 437.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003579/0.241, allocations: 167.1 kB / 437.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.2423, allocations: 0.9336 MB / 438.3 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005439/0.2428, allocations: 282.2 kB / 438.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.243, allocations: 95.38 kB / 438.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.243, allocations: 8.062 kB / 438.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.2431, allocations: 38.5 kB / 438.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.392e-06/0.2431, allocations: 0 / 438.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001793/0.2449, allocations: 1.041 MB / 439.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/0.2449, allocations: 132.5 kB / 439.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.2451, allocations: 214.6 kB / 440.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.2452, allocations: 29.7 kB / 440.1 MB, free: 14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2453, allocations: 156.7 kB / 440.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.2454, allocations: 127 kB / 440.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.562e-05/0.2455, allocations: 70.14 kB / 440.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2456, allocations: 334.8 kB / 440.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.2458, allocations: 88.83 kB / 440.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.2461, allocations: 198 kB / 441.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004652/0.2466, allocations: 301.6 kB / 441.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2466, allocations: 0 / 441.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005865/0.2471, allocations: 345.1 kB / 441.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2472, allocations: 8 kB / 441.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2472, allocations: 4.25 kB / 441.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.2472, allocations: 8 kB / 441.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.2475, allocations: 99.83 kB / 441.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.2475, allocations: 7.938 kB / 441.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.2477, allocations: 12 kB / 441.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.2477, allocations: 16 kB / 441.8 MB, free: 12.13 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (48): * Single equations (assignments): 48 * 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.0001426/0.2479, allocations: 149.7 kB / 442 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.6e-05/0.248, allocations: 23.86 kB / 442 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.337e-05/0.248, allocations: 29.41 kB / 442 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.248, allocations: 4 kB / 442 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.248, allocations: 7.938 kB / 442 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.2481, allocations: 8.172 kB / 442.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.2494, allocations: 0.9117 MB / 443 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2494, allocations: 0 / 443 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/0.2498, allocations: 83.89 kB / 443 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.2498, allocations: 12.44 kB / 443.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.2498, allocations: 8 kB / 443.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.178e-05/0.2498, allocations: 11.98 kB / 443.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.2498, allocations: 11.88 kB / 443.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008406/0.2507, allocations: 0.6962 MB / 443.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.2507, allocations: 23.86 kB / 443.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.2508, allocations: 8 kB / 443.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.251, allocations: 11.98 kB / 443.8 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.2511, allocations: 31.91 kB / 443.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.2511, allocations: 19.98 kB / 443.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.2512, allocations: 144.6 kB / 444 MB, free: 9.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2512, allocations: 0 / 444 MB, free: 9.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004494/0.2517, allocations: 60 kB / 444.1 MB, free: 9.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.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 (32): * Single equations (assignments): 32 * 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.001156/0.2529, allocations: 1.257 MB / 445.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004809/0.2533, allocations: 227.6 kB / 445.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2533, allocations: 0 / 445.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.2536, allocations: 120.8 kB / 445.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007292/0.2543, allocations: 68.17 kB / 445.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/0.2586, allocations: 3.491 MB / 449.2 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.2588, allocations: 151.1 kB / 449.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.2589, allocations: 34.97 kB / 449.4 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.2591, allocations: 79.41 kB / 449.5 MB, free: 4.039 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2591, allocations: 0 / 449.5 MB, free: 4.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.2882, allocations: 6.246 MB / 455.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.96, allocations: 10.58 kB / 455.8 MB, free: 13.98 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_CompareBrakingForce_fmu --startTime=0 --stopTime=5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_CompareBrakingForce.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.346883634920232] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass1.v', 'mass2.v', 'mass3.v', 'mass4.v'] 11.11250506597571 11.128521733 10.886780669 Calling exit ...