Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.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.001775/0.001775, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002009/0.002009, allocations: 203.4 kB / 23.73 MB, free: 4.379 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2257/0.2257, allocations: 46.96 MB / 360.9 MB, free: 4.02 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+maint.om/package.mo) 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(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 63.91 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3183, allocations: 66.04 MB / 0.5606 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001577/0.3198, allocations: 492.2 kB / 0.561 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.3213, allocations: 0.7315 MB / 0.5618 GB, free: 3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.531e-05/0.3213, allocations: 0 / 0.5618 GB, free: 3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.142e-05/0.3213, allocations: 0 / 0.5618 GB, free: 3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.724e-06/0.3213, allocations: 4 kB / 0.5618 GB, free: 2.996 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.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.001877/0.3232, allocations: 0.6417 MB / 0.5624 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.728e-05/0.3232, allocations: 0 / 0.5624 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.3233, allocations: 0 / 0.5624 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.643e-05/0.3233, allocations: 3.984 kB / 0.5624 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.539e-05/0.3233, allocations: 11.92 kB / 0.5624 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.79e-06/0.3233, allocations: 0 / 0.5624 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007314/0.324, allocations: 411.3 kB / 0.5628 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.3241, allocations: 3.984 kB / 0.5628 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.3241, allocations: 4 kB / 0.5628 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004675/0.3245, allocations: 345 kB / 0.5631 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.3245, allocations: 0 / 0.5631 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3245, allocations: 0 / 0.5631 GB, free: 1.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3245, allocations: 3.938 kB / 0.5631 GB, free: 1.59 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.0003768/0.3249, allocations: 311.5 kB / 0.5634 GB, free: 1.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.325, allocations: 8.031 kB / 0.5634 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.506e-05/0.325, allocations: 38.75 kB / 0.5635 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.365e-05/0.325, allocations: 8.922 kB / 0.5635 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.522e-05/0.3251, allocations: 107.5 kB / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3251, allocations: 384 / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.3251, allocations: 384 / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.223e-05/0.3252, allocations: 55.97 kB / 0.5636 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3252, allocations: 3.938 kB / 0.5636 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-06/0.3252, allocations: 0 / 0.5636 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3252, allocations: 3.984 kB / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.25e-05/0.3253, allocations: 29.7 kB / 0.5637 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.3254, allocations: 120.8 kB / 0.5638 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.99e-05/0.3255, allocations: 52.25 kB / 0.5638 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.3255, allocations: 30.56 kB / 0.5639 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.3255, allocations: 0 / 0.5639 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.3255, allocations: 60.33 kB / 0.5639 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.3255, allocations: 0 / 0.5639 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001953/0.3257, allocations: 122.7 kB / 0.564 GB, free: 472 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.3258, allocations: 77.11 kB / 0.5641 GB, free: 376 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.21e-05/0.3258, allocations: 93.81 kB / 0.5642 GB, free: 272 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.3259, allocations: 29.64 kB / 0.5642 GB, free: 236 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.3259, allocations: 84.14 kB / 0.5643 GB, free: 148 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.3259, allocations: 4.125 kB / 0.5643 GB, free: 144 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.3259, allocations: 13.72 kB / 0.5643 GB, free: 124 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3261, allocations: 322.8 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.291e-05/0.3261, allocations: 25.7 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.915e-05/0.3261, allocations: 29.7 kB / 0.5647 GB, free: 15.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.353e-05/0.3262, allocations: 64.2 kB / 0.5648 GB, free: 15.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3262, allocations: 0 / 0.5648 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.329e-05/0.3263, allocations: 93.09 kB / 0.5648 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.3263, allocations: 29.7 kB / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3263, allocations: 8.031 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3263, allocations: 4 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.455e-06/0.3263, allocations: 3.938 kB / 0.5649 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3263, allocations: 0 / 0.5649 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.26e-05/0.3264, allocations: 0 / 0.5649 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.3264, allocations: 0 / 0.5649 GB, free: 15.49 MB / 414.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 9.644e-05/0.3265, allocations: 139.5 kB / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-06/0.3265, allocations: 0 / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.143e-05/0.3265, allocations: 6.938 kB / 0.565 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.3265, allocations: 3.938 kB / 0.565 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.3265, allocations: 4 kB / 0.565 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3265, allocations: 0 / 0.565 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.091e-05/0.3266, allocations: 124.8 kB / 0.5652 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3266, allocations: 0 / 0.5652 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.3266, allocations: 0 / 0.5652 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.3266, allocations: 0 / 0.5652 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.3266, allocations: 7.922 kB / 0.5652 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.3266, allocations: 4 kB / 0.5652 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3266, allocations: 0 / 0.5652 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.3267, allocations: 112.5 kB / 0.5653 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-06/0.3267, allocations: 3.984 kB / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.3267, allocations: 11.91 kB / 0.5653 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-06/0.3267, allocations: 0 / 0.5653 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.3267, allocations: 4 kB / 0.5653 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-06/0.3267, allocations: 0 / 0.5653 GB, free: 14.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.775e-05/0.3268, allocations: 75.28 kB / 0.5654 GB, free: 14.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3268, allocations: 0 / 0.5654 GB, free: 14.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003545/0.3271, allocations: 83.73 kB / 0.5654 GB, free: 14.83 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.000818/0.328, allocations: 0.7849 MB / 0.5662 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.3281, allocations: 118.7 kB / 0.5663 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3281, allocations: 0 / 0.5663 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-05/0.3281, allocations: 85.11 kB / 0.5664 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001155/0.3283, allocations: 0 / 0.5664 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/0.3286, allocations: 172.2 kB / 0.5666 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.952e-05/0.3287, allocations: 51.36 kB / 0.5666 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.18e-06/0.3287, allocations: 3.938 kB / 0.5666 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.3287, allocations: 15.42 kB / 0.5666 GB, free: 13.46 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3287, allocations: 0 / 0.5666 GB, free: 13.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.3583, allocations: 3.354 MB / 0.5699 GB, free: 10.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.25, allocations: 5.453 kB / 0.5699 GB, free: 10.23 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.190739505022066] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.349080054002116 11.375267196 11.046017685 Calling exit ...