Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.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.001388/0.001388, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001489/0.001489, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 8.059 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) [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.00196/0.00196, allocations: 60.77 kB / 378.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2497, allocations: 53.37 MB / 431.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003607/0.2533, allocations: 2.448 MB / 434.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005479/0.2539, allocations: 243.1 kB / 434.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.254, allocations: 7.938 kB / 434.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.2542, allocations: 43.58 kB / 434.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.2543, allocations: 87.27 kB / 434.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.2545, allocations: 55.86 kB / 434.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.2548, allocations: 290.7 kB / 435.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.255, allocations: 69.92 kB / 435.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.2552, allocations: 115.6 kB / 435.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.2554, allocations: 119.5 kB / 435.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.2554, allocations: 24 kB / 435.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.699e-05/0.2555, allocations: 28 kB / 435.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.385e-05/0.2555, allocations: 51.77 kB / 435.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.2557, allocations: 135.3 kB / 435.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.256, allocations: 291.6 kB / 435.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.256, allocations: 0 / 435.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.256, allocations: 0 / 435.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.256, allocations: 0 / 435.9 MB, free: 2.879 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008035/0.2568, allocations: 481.5 kB / 436.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.2569, allocations: 12.03 kB / 436.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.72e-05/0.2569, allocations: 62.72 kB / 436.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.257, allocations: 28.75 kB / 436.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.2573, allocations: 186.8 kB / 436.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.2574, allocations: 16.88 kB / 436.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.2574, allocations: 24.38 kB / 436.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.2579, allocations: 243.2 kB / 436.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.2579, allocations: 7.938 kB / 436.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.2579, allocations: 8 kB / 436.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.2579, allocations: 8 kB / 436.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.2582, allocations: 159.8 kB / 437.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.2593, allocations: 0.765 MB / 437.9 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.2598, allocations: 279.6 kB / 438.1 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.2601, allocations: 122.5 kB / 438.3 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.2601, allocations: 0 / 438.3 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.2601, allocations: 38.56 kB / 438.3 MB, free: 296 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.293e-06/0.2601, allocations: 0 / 438.3 MB, free: 296 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002649/0.2628, allocations: 1.517 MB / 439.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.2628, allocations: 106.8 kB / 439.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.263, allocations: 187.2 kB / 440.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.2631, allocations: 41.64 kB / 440.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/0.2632, allocations: 140.8 kB / 440.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.2633, allocations: 170.5 kB / 440.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.2634, allocations: 74.14 kB / 440.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.2636, allocations: 342.8 kB / 440.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.2637, allocations: 88.84 kB / 440.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.2639, allocations: 154.5 kB / 441.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.2643, allocations: 282.2 kB / 441.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2643, allocations: 0 / 441.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005201/0.2649, allocations: 343.3 kB / 441.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.2649, allocations: 11.94 kB / 441.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2649, allocations: 0 / 441.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.2649, allocations: 7.984 kB / 441.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.2653, allocations: 91.91 kB / 441.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.2653, allocations: 11.92 kB / 441.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.2654, allocations: 20.09 kB / 441.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.2654, allocations: 8 kB / 441.8 MB, free: 12.49 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0001598/0.2656, allocations: 153.7 kB / 442 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.05e-05/0.2656, allocations: 35.73 kB / 442 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.757e-05/0.2657, allocations: 33.81 kB / 442.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.2657, allocations: 8.938 kB / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.2657, allocations: 0 / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2657, allocations: 3.984 kB / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.2672, allocations: 1.026 MB / 443.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.2672, allocations: 4.094 kB / 443.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.2676, allocations: 91.83 kB / 443.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.2676, allocations: 15.97 kB / 443.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.2676, allocations: 12 kB / 443.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.2676, allocations: 7.938 kB / 443.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.2676, allocations: 4 kB / 443.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008112/0.2684, allocations: 0.7289 MB / 444 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.2685, allocations: 27.8 kB / 444 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.2685, allocations: 12.06 kB / 444 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.2687, allocations: 8 kB / 444 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.2688, allocations: 39.81 kB / 444 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.2688, allocations: 20 kB / 444.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.2689, allocations: 136.5 kB / 444.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2689, allocations: 0 / 444.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004233/0.2693, allocations: 72 kB / 444.3 MB, free: 9.926 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.001133/0.2705, allocations: 1.267 MB / 445.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004621/0.2709, allocations: 256.4 kB / 445.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2709, allocations: 0 / 445.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.2711, allocations: 131.8 kB / 445.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006816/0.2718, allocations: 73.03 kB / 446 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/0.2759, allocations: 3.282 MB / 449.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.2763, allocations: 0.7684 MB / 450 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.2765, allocations: 34.95 kB / 450.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.2766, allocations: 91.42 kB / 450.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of SimCode: time 1.462e-06/0.2766, allocations: 0 / 450.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03403/0.3106, allocations: 6.229 MB / 456.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.419, allocations: 7.391 kB / 456.4 MB, free: 13.67 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.82901629107073] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper1.s_rel', 'damper1.v_rel', 'damper2.s_rel', 'damper2.v_rel', 'springDamper3.s_rel', 'springDamper3.v_rel'] 8.492003194056451 8.516390348 8.255311743 Calling exit ...