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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 112.6 kB / 21.1 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 190.8 kB / 24.36 MB, free: 4.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 225.6 MB / 253.1 MB, free: 13.05 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.2379/0.2379, allocations: 44.9 MB / 353.2 MB, free: 11.86 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.88 kB / 496.8 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3132, allocations: 64.29 MB / 0.5479 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001684/0.3149, allocations: 0.4969 MB / 0.5484 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.3164, allocations: 0.7904 MB / 0.5492 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.236e-05/0.3165, allocations: 0 / 0.5492 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.194e-05/0.3165, allocations: 0 / 0.5492 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.582e-06/0.3165, allocations: 0 / 0.5492 GB, free: 11.93 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.001874/0.3184, allocations: 0.6082 MB / 0.5498 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.231e-05/0.3184, allocations: 1.469 kB / 0.5498 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.3185, allocations: 1.688 kB / 0.5498 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.617e-05/0.3185, allocations: 0 / 0.5498 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.125e-05/0.3185, allocations: 11.86 kB / 0.5498 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-06/0.3185, allocations: 1.344 kB / 0.5498 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007677/0.3193, allocations: 401.3 kB / 0.5502 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.656e-06/0.3193, allocations: 0 / 0.5502 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.3193, allocations: 5.562 kB / 0.5502 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004837/0.3198, allocations: 332.2 kB / 0.5505 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3198, allocations: 0 / 0.5505 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3198, allocations: 0 / 0.5505 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3198, allocations: 0 / 0.5505 GB, free: 11.11 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.0004362/0.3202, allocations: 311.4 kB / 0.5508 GB, free: 10.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3203, allocations: 11.17 kB / 0.5508 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.3203, allocations: 34.75 kB / 0.5508 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.3203, allocations: 5.922 kB / 0.5508 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.348e-05/0.3204, allocations: 107.6 kB / 0.5509 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.3204, allocations: 5.312 kB / 0.5509 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.3204, allocations: 1.5 kB / 0.551 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.344e-05/0.3205, allocations: 28.33 kB / 0.551 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3205, allocations: 3.938 kB / 0.551 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.3205, allocations: 1.031 kB / 0.551 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3206, allocations: 0 / 0.551 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.139e-05/0.3206, allocations: 8.859 kB / 0.551 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.3207, allocations: 118.5 kB / 0.5511 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.364e-05/0.3208, allocations: 24.52 kB / 0.5511 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.3208, allocations: 5.953 kB / 0.5511 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.3208, allocations: 1.156 kB / 0.5511 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.394e-05/0.3208, allocations: 57.33 kB / 0.5512 GB, free: 10.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3208, allocations: 0 / 0.5512 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.00018/0.321, allocations: 69.95 kB / 0.5513 GB, free: 10.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.3211, allocations: 78.33 kB / 0.5513 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.257e-05/0.3211, allocations: 97.86 kB / 0.5514 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.3212, allocations: 26.98 kB / 0.5514 GB, free: 9.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.3212, allocations: 80.14 kB / 0.5515 GB, free: 9.906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.3212, allocations: 1.656 kB / 0.5515 GB, free: 9.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.3212, allocations: 11.12 kB / 0.5515 GB, free: 9.891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3214, allocations: 312.4 kB / 0.5518 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.415e-06/0.3214, allocations: 0 / 0.5518 GB, free: 9.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-06/0.3214, allocations: 1.969 kB / 0.5518 GB, free: 9.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.519e-05/0.3215, allocations: 71.78 kB / 0.5519 GB, free: 9.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3215, allocations: 3.938 kB / 0.5519 GB, free: 9.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.298e-05/0.3215, allocations: 60.84 kB / 0.552 GB, free: 9.426 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.3216, allocations: 31.55 kB / 0.552 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3216, allocations: 3.938 kB / 0.552 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.3216, allocations: 5.406 kB / 0.552 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.175e-06/0.3216, allocations: 3.984 kB / 0.552 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3216, allocations: 0 / 0.552 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.3216, allocations: 9.469 kB / 0.552 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.3216, allocations: 0 / 0.552 GB, free: 9.375 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.0001178/0.3217, allocations: 138.3 kB / 0.5522 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.3217, allocations: 3.953 kB / 0.5522 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.654e-05/0.3218, allocations: 12.41 kB / 0.5522 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.3218, allocations: 0 / 0.5522 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3218, allocations: 0 / 0.5522 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3218, allocations: 1.469 kB / 0.5522 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.791e-05/0.3219, allocations: 118.2 kB / 0.5523 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3219, allocations: 0 / 0.5523 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-06/0.3219, allocations: 5.5 kB / 0.5523 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.3219, allocations: 0 / 0.5523 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.3219, allocations: 3.938 kB / 0.5523 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.3219, allocations: 5.469 kB / 0.5523 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3219, allocations: 0 / 0.5523 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.322, allocations: 92.89 kB / 0.5524 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-06/0.322, allocations: 1.531 kB / 0.5524 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.322, allocations: 9.281 kB / 0.5524 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-06/0.322, allocations: 0 / 0.5524 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.048e-05/0.322, allocations: 1.469 kB / 0.5524 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.322, allocations: 0 / 0.5524 GB, free: 8.926 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.685e-05/0.3221, allocations: 76.75 kB / 0.5525 GB, free: 8.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3221, allocations: 0 / 0.5525 GB, free: 8.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003545/0.3224, allocations: 81.8 kB / 0.5525 GB, free: 8.828 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.0008763/0.3233, allocations: 0.747 MB / 0.5533 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.3234, allocations: 64.83 kB / 0.5533 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3234, allocations: 0 / 0.5533 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.989e-05/0.3235, allocations: 54.19 kB / 0.5534 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.3236, allocations: 6.188 kB / 0.5534 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.324, allocations: 138.3 kB / 0.5535 GB, free: 7.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.3243, allocations: 0.6779 MB / 0.5542 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.951e-06/0.3243, allocations: 1.25 kB / 0.5542 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.542e-05/0.3243, allocations: 7.438 kB / 0.5542 GB, free: 7.133 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3243, allocations: 0 / 0.5542 GB, free: 7.133 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.3491, allocations: 2.728 MB / 0.5569 GB, free: 5.633 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.422, allocations: 2.25 kB / 0.5569 GB, free: 5.633 MB / 398.1 MB " [Timeout remaining time 652] (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: 11.188784210942686] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.49516933877021 8.51749015 8.193528966 Calling exit ...