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.001711/0.001711, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001464/0.001464, allocations: 211.9 kB / 23.73 MB, free: 4.16 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.805 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.22/0.22, allocations: 44.95 MB / 358.8 MB, free: 6.043 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.002072/0.002072, allocations: 63.91 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3154, allocations: 65.47 MB / 0.5569 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001572/0.317, allocations: 0.4893 MB / 0.5574 GB, free: 6.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.3184, allocations: 0.7257 MB / 0.5581 GB, free: 6.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.351e-05/0.3184, allocations: 4 kB / 0.5581 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/0.3184, allocations: 0 / 0.5581 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.3184, allocations: 0 / 0.5581 GB, free: 6.32 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.001818/0.3202, allocations: 0.6421 MB / 0.5588 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.536e-05/0.3203, allocations: 3.938 kB / 0.5588 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.3203, allocations: 7.938 kB / 0.5588 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.681e-05/0.3203, allocations: 0 / 0.5588 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.888e-05/0.3203, allocations: 0 / 0.5588 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.051e-06/0.3203, allocations: 0 / 0.5588 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007785/0.3211, allocations: 407.2 kB / 0.5592 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.3211, allocations: 0 / 0.5592 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.829e-05/0.3211, allocations: 0 / 0.5592 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004825/0.3216, allocations: 345 kB / 0.5595 GB, free: 4.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3216, allocations: 4 kB / 0.5595 GB, free: 4.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3216, allocations: 0 / 0.5595 GB, free: 4.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3216, allocations: 0 / 0.5595 GB, free: 4.93 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.0003772/0.322, allocations: 321.7 kB / 0.5598 GB, free: 4.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.322, allocations: 8.031 kB / 0.5598 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.968e-05/0.3221, allocations: 30.75 kB / 0.5598 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.3221, allocations: 0.9375 kB / 0.5598 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.016e-05/0.3222, allocations: 107.6 kB / 0.5599 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-06/0.3222, allocations: 384 / 0.5599 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.3222, allocations: 384 / 0.5599 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.25e-05/0.3223, allocations: 67.95 kB / 0.56 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3223, allocations: 3.938 kB / 0.56 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-06/0.3223, allocations: 0 / 0.56 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3223, allocations: 3.984 kB / 0.56 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.063e-05/0.3223, allocations: 29.64 kB / 0.56 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.3225, allocations: 116.8 kB / 0.5602 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.601e-05/0.3225, allocations: 48.38 kB / 0.5602 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.3226, allocations: 34.55 kB / 0.5602 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-06/0.3226, allocations: 0 / 0.5602 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.509e-05/0.3226, allocations: 60.27 kB / 0.5603 GB, free: 3.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3226, allocations: 4 kB / 0.5603 GB, free: 3.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001945/0.3228, allocations: 122.7 kB / 0.5604 GB, free: 3.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.3229, allocations: 85.09 kB / 0.5605 GB, free: 3.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.832e-05/0.3229, allocations: 97.75 kB / 0.5606 GB, free: 3.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.3229, allocations: 25.7 kB / 0.5606 GB, free: 3.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.386e-05/0.323, allocations: 80.14 kB / 0.5607 GB, free: 3.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.323, allocations: 0 / 0.5607 GB, free: 3.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.323, allocations: 13.72 kB / 0.5607 GB, free: 3.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3232, allocations: 314.8 kB / 0.561 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/0.3232, allocations: 25.7 kB / 0.561 GB, free: 3.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.32e-05/0.3232, allocations: 37.83 kB / 0.5611 GB, free: 3.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.71e-05/0.3233, allocations: 64.25 kB / 0.5611 GB, free: 2.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3233, allocations: 0 / 0.5611 GB, free: 2.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.907e-05/0.3233, allocations: 85.05 kB / 0.5612 GB, free: 2.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.3234, allocations: 41.64 kB / 0.5612 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3234, allocations: 3.938 kB / 0.5612 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3234, allocations: 0 / 0.5612 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.38e-06/0.3234, allocations: 3.984 kB / 0.5613 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.3234, allocations: 0 / 0.5613 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.3234, allocations: 4.094 kB / 0.5613 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.3234, allocations: 4 kB / 0.5613 GB, free: 2.824 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 9.108e-05/0.3235, allocations: 131.5 kB / 0.5614 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.3235, allocations: 4 kB / 0.5614 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.098e-05/0.3235, allocations: 6.938 kB / 0.5614 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.3235, allocations: 0 / 0.5614 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3235, allocations: 0 / 0.5614 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.3236, allocations: 0 / 0.5614 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.756e-05/0.3236, allocations: 120.8 kB / 0.5615 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3236, allocations: 0 / 0.5615 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.3236, allocations: 0 / 0.5615 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.3237, allocations: 4 kB / 0.5615 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3237, allocations: 3.938 kB / 0.5615 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.3237, allocations: 0 / 0.5615 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3237, allocations: 0 / 0.5615 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.3238, allocations: 120.5 kB / 0.5616 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.3238, allocations: 8 kB / 0.5616 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.3238, allocations: 3.938 kB / 0.5616 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-06/0.3238, allocations: 0 / 0.5616 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-06/0.3238, allocations: 0 / 0.5616 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.3238, allocations: 3.938 kB / 0.5616 GB, free: 2.336 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.625e-05/0.3239, allocations: 83.31 kB / 0.5617 GB, free: 2.254 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3239, allocations: 0 / 0.5617 GB, free: 2.254 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003218/0.3242, allocations: 83.72 kB / 0.5618 GB, free: 2.172 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.0009511/0.3251, allocations: 0.7939 MB / 0.5626 GB, free: 1.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.3252, allocations: 106.8 kB / 0.5627 GB, free: 1.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3253, allocations: 0 / 0.5627 GB, free: 1.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.368e-05/0.3253, allocations: 85.09 kB / 0.5628 GB, free: 1.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.3254, allocations: 8.125 kB / 0.5628 GB, free: 1.105 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.3258, allocations: 164.2 kB / 0.5629 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.799e-05/0.3258, allocations: 55.36 kB / 0.563 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.273e-06/0.3259, allocations: 4 kB / 0.563 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.744e-05/0.3259, allocations: 11.42 kB / 0.563 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3259, allocations: 0 / 0.563 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.3557, allocations: 3.339 MB / 0.5663 GB, free: 13.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.51, allocations: 3.938 kB / 0.5663 GB, free: 13.59 MB / 414.1 MB " [Timeout remaining time 648] (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.455814642831683] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.617466283030808 11.638869143 11.313291507 Calling exit ...