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.001344/0.001344, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001445/0.001445, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.352/1.352, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.001485/0.001485, allocations: 48.08 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2371, allocations: 53.37 MB / 431.9 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003407/0.2405, allocations: 2.378 MB / 434.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.2417, allocations: 0.7712 MB / 435.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.862e-05/0.2418, allocations: 7.938 kB / 435.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.2419, allocations: 39.58 kB / 435.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.2422, allocations: 95.27 kB / 435.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.2425, allocations: 107.8 kB / 435.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003452/0.2428, allocations: 310.5 kB / 435.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.2429, allocations: 52.86 kB / 435.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.2431, allocations: 119.6 kB / 435.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.2432, allocations: 123.4 kB / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.2433, allocations: 24 kB / 435.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.692e-05/0.2433, allocations: 20 kB / 436 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.72e-05/0.2434, allocations: 55.72 kB / 436 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.2435, allocations: 127.4 kB / 436.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.2438, allocations: 271.5 kB / 436.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2438, allocations: 4 kB / 436.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2438, allocations: 0 / 436.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.2438, allocations: 4 kB / 436.4 MB, free: 2.473 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.0008525/0.2447, allocations: 489.4 kB / 436.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.2447, allocations: 12.03 kB / 436.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.041e-05/0.2447, allocations: 8.625 kB / 436.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.558e-05/0.2448, allocations: 58.72 kB / 437 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.2448, allocations: 28.75 kB / 437 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.2451, allocations: 195.8 kB / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.2451, allocations: 24.75 kB / 437.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.2452, allocations: 20.38 kB / 437.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.2456, allocations: 242.6 kB / 437.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.2456, allocations: 7.953 kB / 437.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.2457, allocations: 8 kB / 437.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.2457, allocations: 4 kB / 437.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003693/0.246, allocations: 163.8 kB / 437.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.2473, allocations: 0.9726 MB / 438.6 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/0.2479, allocations: 286.4 kB / 438.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.248, allocations: 87.34 kB / 439 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.2481, allocations: 8.062 kB / 439 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.2481, allocations: 42.55 kB / 439 MB, free: 15.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.342e-06/0.2481, allocations: 0 / 439 MB, free: 15.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001778/0.2499, allocations: 1.044 MB / 440.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/0.25, allocations: 132.5 kB / 440.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.2502, allocations: 206.7 kB / 440.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.2502, allocations: 33.7 kB / 440.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.2503, allocations: 152.7 kB / 440.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.2505, allocations: 134.8 kB / 440.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/0.2505, allocations: 70.14 kB / 440.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2507, allocations: 338.8 kB / 441.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.2509, allocations: 84.77 kB / 441.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.2512, allocations: 194 kB / 441.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/0.2517, allocations: 301.8 kB / 441.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2517, allocations: 4 kB / 441.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006019/0.2523, allocations: 341 kB / 442 MB, free: 12.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2523, allocations: 8 kB / 442 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.2523, allocations: 4 kB / 442 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2523, allocations: 4 kB / 442 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.2526, allocations: 91.89 kB / 442.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.2527, allocations: 19.86 kB / 442.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.2528, allocations: 16.25 kB / 442.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.2528, allocations: 20 kB / 442.2 MB, free: 12.19 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.0001414/0.253, allocations: 141.7 kB / 442.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.752e-05/0.2531, allocations: 23.86 kB / 442.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.659e-05/0.2531, allocations: 33.39 kB / 442.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2532, allocations: 4 kB / 442.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.2532, allocations: 7.938 kB / 442.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2532, allocations: 3.984 kB / 442.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.2546, allocations: 0.9473 MB / 443.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.2546, allocations: 0 / 443.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.255, allocations: 87.83 kB / 443.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.255, allocations: 4 kB / 443.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.255, allocations: 8 kB / 443.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.255, allocations: 4 kB / 443.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.255, allocations: 4 kB / 443.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008299/0.2558, allocations: 0.7003 MB / 444.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.2559, allocations: 23.84 kB / 444.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.2559, allocations: 16 kB / 444.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.2562, allocations: 8 kB / 444.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/0.2562, allocations: 39.83 kB / 444.2 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.2563, allocations: 11.94 kB / 444.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.2564, allocations: 148.6 kB / 444.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2564, allocations: 0 / 444.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004574/0.2568, allocations: 64 kB / 444.4 MB, free: 9.785 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.001124/0.258, allocations: 1.25 MB / 445.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000481/0.2585, allocations: 227.8 kB / 445.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2585, allocations: 0.5 kB / 445.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.2587, allocations: 127.7 kB / 446 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007344/0.2594, allocations: 72.8 kB / 446.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0045/0.2639, allocations: 3.493 MB / 449.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.2643, allocations: 0.7643 MB / 450.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.2644, allocations: 30.97 kB / 450.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.2646, allocations: 83.41 kB / 450.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.2646, allocations: 4 kB / 450.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.2943, allocations: 6.153 MB / 456.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.1, allocations: 11.92 kB / 456.7 MB, free: 13.45 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.532674165966455] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass1.v', 'mass2.v', 'mass3.v', 'mass4.v'] 11.251597611990292 11.265880606 11.019269691 Calling exit ...