Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001556/0.001556, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00219/0.00219, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.419/1.419, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2124/0.2124, allocations: 44.92 MB / 358.8 MB, free: 6.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 59.91 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3441, allocations: 65.47 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001678/0.3458, allocations: 493.4 kB / 0.5575 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.3475, allocations: 0.7879 MB / 0.5583 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.3475, allocations: 0 / 0.5583 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.3476, allocations: 0 / 0.5583 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.945e-06/0.3476, allocations: 0 / 0.5583 GB, free: 6.516 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.002152/0.3497, allocations: 0.6811 MB / 0.5589 GB, free: 5.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.892e-05/0.3498, allocations: 4 kB / 0.5589 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.3498, allocations: 0 / 0.5589 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.01e-05/0.3498, allocations: 4 kB / 0.5589 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.968e-05/0.3499, allocations: 3.938 kB / 0.5589 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.024e-06/0.3499, allocations: 0 / 0.5589 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009157/0.3508, allocations: 475.1 kB / 0.5594 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.335e-06/0.3508, allocations: 4 kB / 0.5594 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.3508, allocations: 11.98 kB / 0.5594 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.3514, allocations: 345 kB / 0.5597 GB, free: 5.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3514, allocations: 3.938 kB / 0.5597 GB, free: 5 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.218e-06/0.3514, allocations: 4 kB / 0.5597 GB, free: 4.996 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.3514, allocations: 0 / 0.5597 GB, free: 4.996 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.0004107/0.3518, allocations: 315.6 kB / 0.56 GB, free: 4.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3519, allocations: 8.031 kB / 0.56 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.976e-05/0.3519, allocations: 30.75 kB / 0.5601 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.387e-05/0.3519, allocations: 0.9375 kB / 0.5601 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.868e-05/0.352, allocations: 111.6 kB / 0.5602 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.352, allocations: 384 / 0.5602 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.352, allocations: 384 / 0.5602 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.3521, allocations: 34.25 kB / 0.5602 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3521, allocations: 3.938 kB / 0.5602 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.3521, allocations: 0 / 0.5602 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3522, allocations: 0 / 0.5602 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.3522, allocations: 7.875 kB / 0.5602 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.3523, allocations: 120.8 kB / 0.5603 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.792e-05/0.3524, allocations: 18.58 kB / 0.5604 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.226e-05/0.3524, allocations: 4.859 kB / 0.5604 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.3524, allocations: 8.078 kB / 0.5604 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.319e-05/0.3524, allocations: 56.27 kB / 0.5604 GB, free: 4.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.3524, allocations: 0 / 0.5604 GB, free: 4.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000185/0.3526, allocations: 75.27 kB / 0.5605 GB, free: 4.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.3527, allocations: 81.23 kB / 0.5606 GB, free: 3.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.862e-05/0.3528, allocations: 93.81 kB / 0.5607 GB, free: 3.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.3528, allocations: 29.69 kB / 0.5607 GB, free: 3.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.3528, allocations: 80.14 kB / 0.5608 GB, free: 3.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.3528, allocations: 3.984 kB / 0.5608 GB, free: 3.738 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.3529, allocations: 17.72 kB / 0.5608 GB, free: 3.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.353, allocations: 314.8 kB / 0.5611 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.353, allocations: 0 / 0.5611 GB, free: 3.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-06/0.353, allocations: 8 kB / 0.5611 GB, free: 3.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.775e-05/0.3531, allocations: 56.27 kB / 0.5611 GB, free: 3.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3531, allocations: 0 / 0.5611 GB, free: 3.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.788e-05/0.3532, allocations: 67.33 kB / 0.5612 GB, free: 3.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.3532, allocations: 33.7 kB / 0.5612 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.3532, allocations: 3.938 kB / 0.5612 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3533, allocations: 3.938 kB / 0.5613 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.243e-06/0.3533, allocations: 0 / 0.5613 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3533, allocations: 0 / 0.5613 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.3533, allocations: 8.094 kB / 0.5613 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.3533, allocations: 0 / 0.5613 GB, free: 3.188 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 0.0001111/0.3534, allocations: 143.5 kB / 0.5614 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-06/0.3534, allocations: 0 / 0.5614 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.74e-05/0.3534, allocations: 6.938 kB / 0.5614 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.3534, allocations: 0 / 0.5614 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.3534, allocations: 4 kB / 0.5614 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3534, allocations: 0 / 0.5614 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.3535, allocations: 112.8 kB / 0.5615 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.3535, allocations: 0 / 0.5615 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-06/0.3535, allocations: 7.984 kB / 0.5615 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.3535, allocations: 3.938 kB / 0.5615 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.3536, allocations: 11.94 kB / 0.5615 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3536, allocations: 0 / 0.5615 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3536, allocations: 0 / 0.5615 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.3537, allocations: 86.78 kB / 0.5616 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-06/0.3537, allocations: 7.984 kB / 0.5616 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.3537, allocations: 7.969 kB / 0.5616 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.138e-05/0.3537, allocations: 4 kB / 0.5616 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.3537, allocations: 0 / 0.5616 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.3537, allocations: 4 kB / 0.5616 GB, free: 2.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.417e-05/0.3538, allocations: 75.28 kB / 0.5617 GB, free: 2.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3538, allocations: 0 / 0.5617 GB, free: 2.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003783/0.3541, allocations: 83.73 kB / 0.5618 GB, free: 2.555 MB / 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.0008615/0.355, allocations: 0.745 MB / 0.5625 GB, free: 1.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.929e-05/0.3551, allocations: 67.34 kB / 0.5626 GB, free: 1.699 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.3551, allocations: 0 / 0.5626 GB, free: 1.699 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.3551, allocations: 59.39 kB / 0.5626 GB, free: 1.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.3553, allocations: 2.5 kB / 0.5626 GB, free: 1.629 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.3556, allocations: 146.6 kB / 0.5628 GB, free: 1.445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.3559, allocations: 0.6729 MB / 0.5634 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.785e-06/0.3559, allocations: 4 kB / 0.5634 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.3559, allocations: 7.438 kB / 0.5635 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3559, allocations: 0 / 0.5635 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02913/0.385, allocations: 2.93 MB / 0.5663 GB, free: 13.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.36, allocations: 2.578 kB / 0.5663 GB, free: 13.94 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.2765912199975] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.47019515500142 11.492601897 11.138095893 Calling exit ...