Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.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.001417/0.001417, allocations: 105 kB / 19.74 MB, free: 2.453 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.001582/0.001582, allocations: 215.6 kB / 22.92 MB, free: 5.195 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.299/1.299, allocations: 230.2 MB / 256.2 MB, free: 8.621 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.1997/0.1997, allocations: 46.89 MB / 359.3 MB, free: 4.992 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.TestVectors,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestVectors",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.002225/0.002225, allocations: 79.86 kB / 0.494 GB, free: 9.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2625, allocations: 65.98 MB / 0.5584 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001433/0.264, allocations: 499.9 kB / 0.5589 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.2652, allocations: 0.7782 MB / 0.5596 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.257e-05/0.2652, allocations: 4 kB / 0.5596 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.634e-06/0.2652, allocations: 0 / 0.5596 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.639e-06/0.2652, allocations: 0 / 0.5596 GB, free: 3.969 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.2668, allocations: 0.6613 MB / 0.5603 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.823e-05/0.2668, allocations: 0 / 0.5603 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.962e-05/0.2669, allocations: 7.984 kB / 0.5603 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.183e-05/0.2669, allocations: 0 / 0.5603 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.325e-05/0.2669, allocations: 0 / 0.5603 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.569e-06/0.2669, allocations: 4 kB / 0.5603 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006527/0.2676, allocations: 411.2 kB / 0.5607 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-06/0.2676, allocations: 0 / 0.5607 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.2676, allocations: 4 kB / 0.5607 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004441/0.268, allocations: 353 kB / 0.561 GB, free: 2.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.268, allocations: 0 / 0.561 GB, free: 2.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.268, allocations: 0 / 0.561 GB, free: 2.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.268, allocations: 0 / 0.561 GB, free: 2.547 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.0003674/0.2684, allocations: 392.7 kB / 0.5614 GB, free: 2.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2684, allocations: 16.03 kB / 0.5614 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.977e-05/0.2685, allocations: 30.75 kB / 0.5614 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.848e-05/0.2685, allocations: 0.9375 kB / 0.5614 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.488e-05/0.2686, allocations: 165.4 kB / 0.5616 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.2686, allocations: 384 / 0.5616 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-06/0.2686, allocations: 384 / 0.5616 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.096e-05/0.2687, allocations: 30.27 kB / 0.5616 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2687, allocations: 3.938 kB / 0.5616 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-06/0.2687, allocations: 7.875 kB / 0.5616 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.2687, allocations: 0 / 0.5616 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.67e-05/0.2687, allocations: 12 kB / 0.5617 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.2688, allocations: 149.6 kB / 0.5618 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.094e-05/0.2689, allocations: 14.58 kB / 0.5618 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.2689, allocations: 8.953 kB / 0.5618 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.2689, allocations: 0 / 0.5618 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.2689, allocations: 56.27 kB / 0.5619 GB, free: 1.492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.2689, allocations: 4 kB / 0.5619 GB, free: 1.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001526/0.2691, allocations: 75.27 kB / 0.5619 GB, free: 1.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.2691, allocations: 77.11 kB / 0.562 GB, free: 1.309 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.312e-05/0.2692, allocations: 93.81 kB / 0.5621 GB, free: 1.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.2692, allocations: 25.7 kB / 0.5621 GB, free: 1.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.2692, allocations: 84.14 kB / 0.5622 GB, free: 1.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.163e-05/0.2692, allocations: 0 / 0.5622 GB, free: 1.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.2693, allocations: 13.72 kB / 0.5622 GB, free: 1.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2694, allocations: 315 kB / 0.5625 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.2694, allocations: 4 kB / 0.5625 GB, free: 0.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-06/0.2694, allocations: 0 / 0.5625 GB, free: 0.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.593e-05/0.2694, allocations: 64.25 kB / 0.5626 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2694, allocations: 0 / 0.5626 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.266e-05/0.2695, allocations: 63.34 kB / 0.5627 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.2695, allocations: 33.7 kB / 0.5627 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2695, allocations: 3.938 kB / 0.5627 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.2695, allocations: 96 / 0.5627 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.2695, allocations: 4 kB / 0.5627 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2696, allocations: 7.984 kB / 0.5627 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.554e-05/0.2696, allocations: 3.984 kB / 0.5627 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.2696, allocations: 4 kB / 0.5627 GB, free: 0.5352 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 7.353e-05/0.2696, allocations: 131.5 kB / 0.5628 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-06/0.2697, allocations: 0 / 0.5628 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.5e-05/0.2697, allocations: 15.05 kB / 0.5628 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.2697, allocations: 0 / 0.5628 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.2697, allocations: 4 kB / 0.5629 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-06/0.2697, allocations: 0 / 0.5629 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.352e-05/0.2698, allocations: 145.7 kB / 0.563 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2698, allocations: 3.938 kB / 0.563 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.2698, allocations: 0 / 0.563 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.2698, allocations: 4 kB / 0.563 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.2698, allocations: 3.938 kB / 0.563 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.2698, allocations: 0 / 0.563 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2698, allocations: 0 / 0.563 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.92e-05/0.2699, allocations: 106.7 kB / 0.5631 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.2699, allocations: 81.11 kB / 0.5632 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.2699, allocations: 3.938 kB / 0.5632 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-06/0.2699, allocations: 0 / 0.5632 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.27, allocations: 0 / 0.5632 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.27, allocations: 4 kB / 0.5632 GB, free: 15.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.354e-05/0.27, allocations: 75.28 kB / 0.5633 GB, free: 15.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.27, allocations: 0 / 0.5633 GB, free: 15.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003199/0.2703, allocations: 83.73 kB / 0.5633 GB, free: 15.78 MB / 414.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.0007216/0.271, allocations: 0.755 MB / 0.5641 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.602e-05/0.2711, allocations: 63.34 kB / 0.5641 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2711, allocations: 0 / 0.5641 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.304e-05/0.2712, allocations: 59.47 kB / 0.5642 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.2713, allocations: 0 / 0.5642 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.2716, allocations: 146.5 kB / 0.5643 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.2718, allocations: 0.669 MB / 0.565 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.339e-06/0.2718, allocations: 0 / 0.565 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.082e-05/0.2718, allocations: 7.438 kB / 0.565 GB, free: 13.96 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2718, allocations: 0 / 0.565 GB, free: 13.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.2946, allocations: 2.808 MB / 0.5677 GB, free: 11.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.049/7.344, allocations: 5.828 kB / 0.5677 GB, free: 11.21 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors_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_TestVectors.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.82433600499644]