Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001799/0.001799, allocations: 124.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002148/0.002148, allocations: 214.6 kB / 20.75 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.4 MB / 254 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2363/0.2363, allocations: 46.92 MB / 357 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002489/0.002489, allocations: 76.17 kB / 0.4909 GB, free: 7.785 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1346, allocations: 66.05 MB / 0.5554 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001829/0.1364, allocations: 493 kB / 0.5559 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.138, allocations: 0.7704 MB / 0.5567 GB, free: 4.344 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.324e-05/0.138, allocations: 8 kB / 0.5567 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.1381, allocations: 0 / 0.5567 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.631e-06/0.1381, allocations: 0 / 0.5567 GB, free: 4.336 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.00201/0.1401, allocations: 0.66 MB / 0.5573 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.334e-05/0.1401, allocations: 7.938 kB / 0.5573 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.1402, allocations: 4 kB / 0.5573 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.396e-05/0.1402, allocations: 3.984 kB / 0.5573 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.758e-05/0.1402, allocations: 0 / 0.5573 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.851e-06/0.1402, allocations: 0 / 0.5573 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007689/0.141, allocations: 419.2 kB / 0.5577 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.837e-06/0.141, allocations: 0 / 0.5577 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.141, allocations: 0 / 0.5577 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005805/0.1416, allocations: 339.2 kB / 0.5581 GB, free: 2.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1416, allocations: 4 kB / 0.5581 GB, free: 2.914 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1416, allocations: 0 / 0.5581 GB, free: 2.914 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1416, allocations: 0 / 0.5581 GB, free: 2.914 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.0005256/0.1421, allocations: 396.7 kB / 0.5584 GB, free: 2.469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.1422, allocations: 12.03 kB / 0.5585 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.1422, allocations: 34.75 kB / 0.5585 GB, free: 2.414 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.1422, allocations: 0.9375 kB / 0.5585 GB, free: 2.414 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.1424, allocations: 160.4 kB / 0.5586 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1424, allocations: 384 / 0.5586 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.1424, allocations: 12.31 kB / 0.5587 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.393e-05/0.1425, allocations: 30.25 kB / 0.5587 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1425, allocations: 3.938 kB / 0.5587 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1425, allocations: 7.938 kB / 0.5587 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1425, allocations: 0 / 0.5587 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.756e-05/0.1425, allocations: 4 kB / 0.5587 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.1427, allocations: 141.7 kB / 0.5588 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.936e-05/0.1427, allocations: 22.61 kB / 0.5589 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.019e-05/0.1428, allocations: 12.84 kB / 0.5589 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.1428, allocations: 0 / 0.5589 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.1428, allocations: 56.27 kB / 0.5589 GB, free: 1.852 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.1428, allocations: 0 / 0.5589 GB, free: 1.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001901/0.143, allocations: 67.34 kB / 0.559 GB, free: 1.773 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.1431, allocations: 77.11 kB / 0.5591 GB, free: 1.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.594e-05/0.1431, allocations: 101.8 kB / 0.5592 GB, free: 1.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1431, allocations: 33.83 kB / 0.5592 GB, free: 1.531 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.1432, allocations: 80.14 kB / 0.5593 GB, free: 1.449 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.1432, allocations: 0 / 0.5593 GB, free: 1.449 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.1432, allocations: 9.719 kB / 0.5593 GB, free: 1.434 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1434, allocations: 314.8 kB / 0.5596 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-06/0.1434, allocations: 0 / 0.5596 GB, free: 1.117 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-06/0.1434, allocations: 0 / 0.5596 GB, free: 1.117 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.381e-05/0.1435, allocations: 68.27 kB / 0.5596 GB, free: 1.035 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1435, allocations: 4 kB / 0.5596 GB, free: 1.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.991e-05/0.1435, allocations: 67.33 kB / 0.5597 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.467e-05/0.1436, allocations: 29.7 kB / 0.5597 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1436, allocations: 3.938 kB / 0.5597 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1436, allocations: 3.984 kB / 0.5597 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.1436, allocations: 0 / 0.5597 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1436, allocations: 0 / 0.5597 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.908e-05/0.1436, allocations: 4 kB / 0.5597 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1436, allocations: 0 / 0.5597 GB, free: 0.9062 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.0001044/0.1437, allocations: 139.6 kB / 0.5599 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.1437, allocations: 4 kB / 0.5599 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.351e-05/0.1437, allocations: 11.06 kB / 0.5599 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.1438, allocations: 0 / 0.5599 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1438, allocations: 3.938 kB / 0.5599 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1438, allocations: 0 / 0.5599 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.1439, allocations: 141.7 kB / 0.56 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.1439, allocations: 7.984 kB / 0.56 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.1439, allocations: 0 / 0.56 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1439, allocations: 0 / 0.56 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1439, allocations: 7.938 kB / 0.56 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1439, allocations: 3.938 kB / 0.5601 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1439, allocations: 0 / 0.5601 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.144, allocations: 90.83 kB / 0.5601 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.1441, allocations: 77.11 kB / 0.5602 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.1441, allocations: 3.938 kB / 0.5602 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.225e-05/0.1441, allocations: 4 kB / 0.5602 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.1441, allocations: 8.031 kB / 0.5602 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.1441, allocations: 0 / 0.5602 GB, free: 316 kB / 414.1 MB Notification: Performance of sorting global known variables: time 3.488e-05/0.1441, allocations: 79.28 kB / 0.5603 GB, free: 236 kB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1441, allocations: 0 / 0.5603 GB, free: 236 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004095/0.1446, allocations: 83.73 kB / 0.5604 GB, free: 152 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.0009939/0.1455, allocations: 0.7528 MB / 0.5611 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.1457, allocations: 59.39 kB / 0.5612 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1457, allocations: 0 / 0.5612 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.794e-05/0.1457, allocations: 55.41 kB / 0.5612 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.1458, allocations: 5.656 kB / 0.5612 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.1462, allocations: 154.4 kB / 0.5614 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.1465, allocations: 0.6769 MB / 0.562 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.985e-06/0.1465, allocations: 7.922 kB / 0.562 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.1465, allocations: 7.438 kB / 0.5621 GB, free: 14.31 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1465, allocations: 0 / 0.5621 GB, free: 14.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.1726, allocations: 2.803 MB / 0.5648 GB, free: 11.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/8.311, allocations: 7.234 kB / 0.5648 GB, free: 11.56 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.416846646927297] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.379165222053416 8.394760373 8.250095231 Calling exit ...