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.001777/0.001777, allocations: 104.2 kB / 20.48 MB, free: 1.125 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.002519/0.002519, allocations: 214.9 kB / 23.77 MB, free: 4.332 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.456/1.456, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.2369/0.2369, allocations: 46.94 MB / 360.8 MB, free: 3.859 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.00232/0.00232, allocations: 87.86 kB / 0.4962 GB, free: 7.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.34, allocations: 66.07 MB / 0.5607 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001673/0.3417, allocations: 0.4913 MB / 0.5612 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.3432, allocations: 0.7277 MB / 0.5619 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.48e-05/0.3432, allocations: 4 kB / 0.5619 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.698e-06/0.3432, allocations: 0 / 0.5619 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.992e-06/0.3432, allocations: 0 / 0.5619 GB, free: 2.758 MB / 398.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.001917/0.3451, allocations: 0.6383 MB / 0.5625 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.938e-05/0.3452, allocations: 7.969 kB / 0.5626 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.3452, allocations: 0 / 0.5626 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.799e-05/0.3452, allocations: 7.938 kB / 0.5626 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.81e-05/0.3453, allocations: 0 / 0.5626 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.851e-06/0.3453, allocations: 4 kB / 0.5626 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007747/0.346, allocations: 411.2 kB / 0.563 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.887e-06/0.3461, allocations: 0 / 0.563 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.3461, allocations: 0 / 0.563 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005122/0.3466, allocations: 333.1 kB / 0.5633 GB, free: 1.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3466, allocations: 0 / 0.5633 GB, free: 1.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3466, allocations: 0 / 0.5633 GB, free: 1.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3466, allocations: 3.938 kB / 0.5633 GB, free: 1.367 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.0004257/0.347, allocations: 315.6 kB / 0.5636 GB, free: 1.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3471, allocations: 12.03 kB / 0.5636 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.3471, allocations: 38.69 kB / 0.5636 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/0.3471, allocations: 0.9375 kB / 0.5636 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.107e-05/0.3472, allocations: 103.6 kB / 0.5637 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.3472, allocations: 4.375 kB / 0.5637 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.3473, allocations: 4.375 kB / 0.5637 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.3474, allocations: 51.97 kB / 0.5638 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.3474, allocations: 3.938 kB / 0.5638 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.3474, allocations: 0 / 0.5638 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.3474, allocations: 7.984 kB / 0.5638 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.334e-05/0.3474, allocations: 25.7 kB / 0.5638 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.3476, allocations: 116.8 kB / 0.5639 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.782e-05/0.3476, allocations: 52.25 kB / 0.564 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.3477, allocations: 30.56 kB / 0.564 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.3477, allocations: 4.062 kB / 0.564 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.145e-05/0.3477, allocations: 60.25 kB / 0.5641 GB, free: 392 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.3477, allocations: 0 / 0.5641 GB, free: 392 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001987/0.3479, allocations: 122.7 kB / 0.5642 GB, free: 244 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/0.348, allocations: 81.05 kB / 0.5643 GB, free: 144 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.327e-05/0.3481, allocations: 97.8 kB / 0.5644 GB, free: 36 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.3481, allocations: 25.7 kB / 0.5644 GB, free: 4 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.3481, allocations: 88.31 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.3481, allocations: 0 / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.3482, allocations: 13.66 kB / 0.5645 GB, free: 15.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3483, allocations: 318.8 kB / 0.5648 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.684e-05/0.3483, allocations: 33.64 kB / 0.5648 GB, free: 15.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.798e-05/0.3484, allocations: 25.7 kB / 0.5648 GB, free: 15.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.51e-05/0.3484, allocations: 60.27 kB / 0.5649 GB, free: 15.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3484, allocations: 0 / 0.5649 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.773e-05/0.3485, allocations: 93.05 kB / 0.565 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.3486, allocations: 35.83 kB / 0.565 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3486, allocations: 11.88 kB / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3486, allocations: 0 / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.3486, allocations: 0 / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3486, allocations: 0 / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.3486, allocations: 0 / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.3486, allocations: 3.984 kB / 0.565 GB, free: 15.27 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.0001046/0.3487, allocations: 135.5 kB / 0.5652 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.3487, allocations: 0 / 0.5652 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.296e-05/0.3487, allocations: 6.938 kB / 0.5652 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3487, allocations: 0 / 0.5652 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3487, allocations: 4 kB / 0.5652 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3487, allocations: 4 kB / 0.5652 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.3488, allocations: 116.8 kB / 0.5653 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3489, allocations: 4 kB / 0.5653 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.3489, allocations: 0 / 0.5653 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.3489, allocations: 0 / 0.5653 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3489, allocations: 7.938 kB / 0.5653 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3489, allocations: 0 / 0.5653 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3489, allocations: 0 / 0.5653 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.349, allocations: 124.5 kB / 0.5654 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-06/0.349, allocations: 4.031 kB / 0.5654 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.349, allocations: 3.938 kB / 0.5654 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.088e-05/0.349, allocations: 4 kB / 0.5654 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-06/0.349, allocations: 0 / 0.5654 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.349, allocations: 3.984 kB / 0.5654 GB, free: 14.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.63e-05/0.3491, allocations: 75.28 kB / 0.5655 GB, free: 14.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3491, allocations: 0 / 0.5655 GB, free: 14.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003609/0.3494, allocations: 83.73 kB / 0.5656 GB, free: 14.61 MB / 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.0009488/0.3504, allocations: 0.7844 MB / 0.5664 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.3505, allocations: 114.8 kB / 0.5665 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3505, allocations: 0 / 0.5665 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.765e-05/0.3506, allocations: 77.11 kB / 0.5665 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.3507, allocations: 6.953 kB / 0.5665 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.3511, allocations: 176.2 kB / 0.5667 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.858e-05/0.3512, allocations: 51.36 kB / 0.5668 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.56e-06/0.3512, allocations: 0 / 0.5668 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.812e-05/0.3512, allocations: 7.438 kB / 0.5668 GB, free: 13.25 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3512, allocations: 8.125 kB / 0.5668 GB, free: 13.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.3817, allocations: 3.415 MB / 0.5701 GB, free: 9.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.64, allocations: 11.78 kB / 0.5701 GB, free: 9.914 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.60778521298198] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.752025332010817 11.773483666 11.423639527 Calling exit ...