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.001869/0.001869, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002032/0.002032, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.532/1.532, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.228/0.228, allocations: 46.93 MB / 357.1 MB, free: 10.32 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.001867/0.001867, allocations: 67.89 kB / 0.4909 GB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1429, allocations: 65.99 MB / 0.5554 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001603/0.1445, allocations: 494.9 kB / 0.5558 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.146, allocations: 0.7743 MB / 0.5566 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.848e-05/0.146, allocations: 0 / 0.5566 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.11e-05/0.146, allocations: 4 kB / 0.5566 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.4e-06/0.146, allocations: 0 / 0.5566 GB, free: 4.609 MB / 414.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.001689/0.1477, allocations: 0.6577 MB / 0.5572 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.08e-05/0.1478, allocations: 3.984 kB / 0.5572 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.1478, allocations: 4 kB / 0.5572 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.441e-05/0.1478, allocations: 0 / 0.5572 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.736e-05/0.1478, allocations: 3.984 kB / 0.5572 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.12e-06/0.1478, allocations: 0 / 0.5572 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006896/0.1485, allocations: 411.2 kB / 0.5576 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.1485, allocations: 11.98 kB / 0.5576 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.1486, allocations: 0 / 0.5576 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000522/0.1491, allocations: 343.2 kB / 0.558 GB, free: 3.188 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1491, allocations: 0 / 0.558 GB, free: 3.188 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1491, allocations: 0 / 0.558 GB, free: 3.188 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.341e-06/0.1491, allocations: 0 / 0.558 GB, free: 3.188 MB / 414.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.000496/0.1496, allocations: 392.7 kB / 0.5583 GB, free: 2.746 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1496, allocations: 12.03 kB / 0.5584 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.1497, allocations: 30.75 kB / 0.5584 GB, free: 2.695 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.429e-05/0.1497, allocations: 0.9375 kB / 0.5584 GB, free: 2.695 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.1498, allocations: 164.4 kB / 0.5585 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.1498, allocations: 384 / 0.5585 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.1498, allocations: 8.312 kB / 0.5586 GB, free: 2.488 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.15, allocations: 38.19 kB / 0.5586 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.15, allocations: 7.875 kB / 0.5586 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.15, allocations: 0 / 0.5586 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.15, allocations: 0 / 0.5586 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.019e-05/0.15, allocations: 7.984 kB / 0.5586 GB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.1502, allocations: 141.7 kB / 0.5587 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.713e-05/0.1502, allocations: 22.61 kB / 0.5588 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.378e-05/0.1502, allocations: 4.859 kB / 0.5588 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-06/0.1502, allocations: 0 / 0.5588 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.653e-05/0.1503, allocations: 64.27 kB / 0.5588 GB, free: 2.125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.1503, allocations: 3.938 kB / 0.5588 GB, free: 2.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.000194/0.1505, allocations: 67.39 kB / 0.5589 GB, free: 2.043 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.1505, allocations: 81.23 kB / 0.559 GB, free: 1.945 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.304e-05/0.1506, allocations: 93.81 kB / 0.5591 GB, free: 1.844 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1506, allocations: 29.7 kB / 0.5591 GB, free: 1.809 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.1507, allocations: 84.12 kB / 0.5592 GB, free: 1.723 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.1507, allocations: 0 / 0.5592 GB, free: 1.723 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.1507, allocations: 13.72 kB / 0.5592 GB, free: 1.703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1509, allocations: 314.8 kB / 0.5595 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-06/0.1509, allocations: 4 kB / 0.5595 GB, free: 1.383 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.758e-05/0.1509, allocations: 4 kB / 0.5595 GB, free: 1.379 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.674e-05/0.1509, allocations: 64.2 kB / 0.5596 GB, free: 1.301 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1509, allocations: 0 / 0.5596 GB, free: 1.301 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.256e-05/0.151, allocations: 63.41 kB / 0.5596 GB, free: 1.227 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.151, allocations: 33.69 kB / 0.5596 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1511, allocations: 3.938 kB / 0.5597 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1511, allocations: 0 / 0.5597 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.1511, allocations: 0 / 0.5597 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.1511, allocations: 0 / 0.5597 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.751e-05/0.1511, allocations: 8.094 kB / 0.5597 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.1511, allocations: 0 / 0.5597 GB, free: 1.176 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 0.0001084/0.1512, allocations: 133.7 kB / 0.5598 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.1512, allocations: 4 kB / 0.5598 GB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.092e-05/0.1512, allocations: 7.062 kB / 0.5598 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.01e-07/0.1512, allocations: 0 / 0.5598 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1512, allocations: 7.922 kB / 0.5598 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1512, allocations: 0 / 0.5598 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.1514, allocations: 141.7 kB / 0.5599 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1514, allocations: 4 kB / 0.5599 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1514, allocations: 4 kB / 0.5599 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.1514, allocations: 3.938 kB / 0.56 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.1514, allocations: 3.938 kB / 0.56 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1514, allocations: 0 / 0.56 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1514, allocations: 3.938 kB / 0.56 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.1515, allocations: 94.83 kB / 0.56 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.1515, allocations: 77.11 kB / 0.5601 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.1515, allocations: 7.969 kB / 0.5601 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-06/0.1515, allocations: 3.984 kB / 0.5601 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.1516, allocations: 4 kB / 0.5601 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.1516, allocations: 0 / 0.5601 GB, free: 0.582 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.608e-05/0.1516, allocations: 79.28 kB / 0.5602 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1516, allocations: 0 / 0.5602 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003508/0.152, allocations: 83.73 kB / 0.5603 GB, free: 432 kB / 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.0008879/0.1528, allocations: 0.7573 MB / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.663e-05/0.1529, allocations: 59.41 kB / 0.5611 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1529, allocations: 0 / 0.5611 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.153, allocations: 55.41 kB / 0.5611 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.1531, allocations: 6.234 kB / 0.5611 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.1535, allocations: 162.4 kB / 0.5613 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1538, allocations: 0.669 MB / 0.562 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.881e-06/0.1538, allocations: 0 / 0.562 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.26e-05/0.1538, allocations: 7.438 kB / 0.562 GB, free: 14.59 MB / 430.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1538, allocations: 4 kB / 0.562 GB, free: 14.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.178, allocations: 2.801 MB / 0.5647 GB, free: 11.85 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/8.203, allocations: 4 kB / 0.5647 GB, free: 11.84 MB / 430.1 MB " [Timeout remaining time 652] (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: 11.367863380000927] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.271591320997686 8.296708086 8.143122057 Calling exit ...