Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestScalarFunctions.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.001411/0.001411, allocations: 105 kB / 19.74 MB, free: 2.566 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.001538/0.001538, allocations: 215.5 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 230.2 MB / 256.1 MB, free: 8.758 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2011/0.2011, allocations: 46.89 MB / 359.3 MB, free: 4.969 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002128/0.002128, allocations: 75.88 kB / 0.494 GB, free: 9.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2553, allocations: 65.98 MB / 0.5584 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001431/0.2568, allocations: 497.1 kB / 0.5589 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.2588, allocations: 1.668 MB / 0.5605 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.88e-05/0.2588, allocations: 0 / 0.5605 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.2588, allocations: 0 / 0.5605 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.988e-06/0.2588, allocations: 0 / 0.5605 GB, free: 3.039 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:4:3-36:22:writable] Warning: Pure function 'ModelicaTest.Math.ScalarFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0005609/0.2594, allocations: 162.9 kB / 0.5607 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.013e-05/0.2594, allocations: 7.938 kB / 0.5607 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.202e-05/0.2595, allocations: 3.984 kB / 0.5607 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.4e-05/0.2595, allocations: 3.984 kB / 0.5607 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.827e-05/0.2595, allocations: 4 kB / 0.5607 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.59e-06/0.2595, allocations: 0 / 0.5607 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.2598, allocations: 111.9 kB / 0.5608 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.824e-06/0.2598, allocations: 3.984 kB / 0.5608 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.457e-05/0.2598, allocations: 4 kB / 0.5608 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.548e-05/0.2599, allocations: 33.78 kB / 0.5608 GB, free: 2.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2599, allocations: 4 kB / 0.5608 GB, free: 2.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2599, allocations: 0 / 0.5608 GB, free: 2.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.2599, allocations: 0 / 0.5608 GB, free: 2.711 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003159/0.2603, allocations: 353.2 kB / 0.5612 GB, free: 2.312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.2603, allocations: 11.97 kB / 0.5612 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.662e-05/0.2603, allocations: 38.69 kB / 0.5612 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.919e-05/0.2603, allocations: 4.938 kB / 0.5612 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.2604, allocations: 164.4 kB / 0.5614 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-06/0.2604, allocations: 384 / 0.5614 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.2604, allocations: 4.375 kB / 0.5614 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.868e-05/0.2605, allocations: 33.83 kB / 0.5614 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.2605, allocations: 0 / 0.5614 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.78e-06/0.2605, allocations: 0 / 0.5614 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.2605, allocations: 0 / 0.5614 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.277e-05/0.2605, allocations: 0 / 0.5614 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.2607, allocations: 149.7 kB / 0.5615 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.648e-05/0.2608, allocations: 22.5 kB / 0.5616 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.2608, allocations: 12.95 kB / 0.5616 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.282e-06/0.2608, allocations: 3.938 kB / 0.5616 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.2608, allocations: 60.2 kB / 0.5616 GB, free: 1.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.2608, allocations: 0 / 0.5616 GB, free: 1.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001467/0.261, allocations: 71.33 kB / 0.5617 GB, free: 1.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.261, allocations: 77.11 kB / 0.5618 GB, free: 1.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.229e-05/0.2611, allocations: 93.81 kB / 0.5619 GB, free: 1.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.2611, allocations: 29.83 kB / 0.5619 GB, free: 1.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.2611, allocations: 80.14 kB / 0.562 GB, free: 1.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.2611, allocations: 4 kB / 0.562 GB, free: 1.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.2612, allocations: 9.719 kB / 0.562 GB, free: 1.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2613, allocations: 314.8 kB / 0.5623 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-06/0.2613, allocations: 0 / 0.5623 GB, free: 0.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/0.2613, allocations: 4 kB / 0.5623 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.501e-05/0.2613, allocations: 64.31 kB / 0.5624 GB, free: 0.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2613, allocations: 4 kB / 0.5624 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.793e-05/0.2614, allocations: 59.34 kB / 0.5624 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.2614, allocations: 41.64 kB / 0.5625 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.2614, allocations: 0 / 0.5625 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/0.2615, allocations: 0 / 0.5625 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-07/0.2615, allocations: 0 / 0.5625 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.2615, allocations: 0 / 0.5625 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.2615, allocations: 3.984 kB / 0.5625 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.2615, allocations: 7.938 kB / 0.5625 GB, free: 0.7422 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.591e-05/0.2616, allocations: 139.6 kB / 0.5626 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.2616, allocations: 3.938 kB / 0.5626 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.803e-06/0.2616, allocations: 7.125 kB / 0.5626 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.71e-07/0.2616, allocations: 0 / 0.5626 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.2616, allocations: 0 / 0.5626 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-06/0.2616, allocations: 0 / 0.5626 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.895e-05/0.2617, allocations: 145.7 kB / 0.5628 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.2617, allocations: 0 / 0.5628 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.2617, allocations: 0 / 0.5628 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.2617, allocations: 7.938 kB / 0.5628 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.2617, allocations: 4 kB / 0.5628 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.2617, allocations: 0 / 0.5628 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2617, allocations: 0 / 0.5628 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.049e-05/0.2618, allocations: 98.77 kB / 0.5629 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.2618, allocations: 81.05 kB / 0.5629 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.2618, allocations: 0 / 0.5629 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-06/0.2618, allocations: 0 / 0.5629 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.2619, allocations: 8.031 kB / 0.5629 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.2619, allocations: 4 kB / 0.5629 GB, free: 152 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.042e-05/0.2619, allocations: 83.22 kB / 0.563 GB, free: 68 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2619, allocations: 0 / 0.563 GB, free: 68 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.2621, allocations: 15.94 kB / 0.563 GB, free: 52 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005404/0.2626, allocations: 0.6734 MB / 0.5637 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.174e-05/0.2627, allocations: 63.33 kB / 0.5638 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2627, allocations: 0 / 0.5638 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.148e-05/0.2628, allocations: 55.41 kB / 0.5638 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.2629, allocations: 7.938 kB / 0.5638 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002595/0.2631, allocations: 122.8 kB / 0.5639 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.2634, allocations: 0.6729 MB / 0.5646 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.678e-06/0.2634, allocations: 0 / 0.5646 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.395e-05/0.2634, allocations: 11.44 kB / 0.5646 GB, free: 14.33 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2634, allocations: 0 / 0.5646 GB, free: 14.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.2855, allocations: 1.466 MB / 0.566 GB, free: 12.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.927/7.213, allocations: 9.469 kB / 0.566 GB, free: 12.92 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestScalarFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestScalarFunctions_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestScalarFunctions.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.70952293901064]