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.001462/0.001462, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.001474/0.001474, allocations: 213.6 kB / 23.74 MB, free: 4.672 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.588/1.588, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2776/0.2776, allocations: 46.91 MB / 360.8 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 179] 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.002983/0.002983, allocations: 79.88 kB / 0.4962 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3476, allocations: 66.08 MB / 0.5607 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001606/0.3492, allocations: 485.1 kB / 0.5612 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.3507, allocations: 0.7822 MB / 0.5619 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.877e-05/0.3507, allocations: 4 kB / 0.562 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.3507, allocations: 0 / 0.562 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.591e-06/0.3507, allocations: 0 / 0.562 GB, free: 2.988 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.001856/0.3525, allocations: 0.6879 MB / 0.5626 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.63e-05/0.3526, allocations: 4 kB / 0.5626 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.3526, allocations: 0 / 0.5626 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.543e-05/0.3526, allocations: 0 / 0.5626 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.822e-05/0.3527, allocations: 4 kB / 0.5626 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.272e-06/0.3527, allocations: 0 / 0.5626 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008162/0.3535, allocations: 471.1 kB / 0.5631 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.352e-06/0.3535, allocations: 0 / 0.5631 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.216e-05/0.3535, allocations: 7.984 kB / 0.5631 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004828/0.354, allocations: 361 kB / 0.5634 GB, free: 1.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.354, allocations: 0 / 0.5634 GB, free: 1.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.354, allocations: 0 / 0.5634 GB, free: 1.473 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.354, allocations: 0 / 0.5634 GB, free: 1.473 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.0003798/0.3544, allocations: 315.6 kB / 0.5637 GB, free: 1.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3544, allocations: 12.02 kB / 0.5637 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.019e-05/0.3545, allocations: 30.75 kB / 0.5638 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.3545, allocations: 0.9375 kB / 0.5638 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.78e-05/0.3546, allocations: 107.6 kB / 0.5639 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3546, allocations: 384 / 0.5639 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.3546, allocations: 4.375 kB / 0.5639 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.347e-05/0.3547, allocations: 34.19 kB / 0.5639 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3547, allocations: 7.938 kB / 0.5639 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.3547, allocations: 4 kB / 0.5639 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3547, allocations: 0 / 0.5639 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.46e-05/0.3547, allocations: 3.938 kB / 0.5639 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.3548, allocations: 124.8 kB / 0.564 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.09e-05/0.3549, allocations: 14.58 kB / 0.5641 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.3549, allocations: 8.859 kB / 0.5641 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.3549, allocations: 0 / 0.5641 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.355, allocations: 64.3 kB / 0.5641 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.355, allocations: 3.938 kB / 0.5641 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001707/0.3551, allocations: 71.33 kB / 0.5642 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.3552, allocations: 77.11 kB / 0.5643 GB, free: 440 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.773e-05/0.3552, allocations: 93.81 kB / 0.5644 GB, free: 336 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.3552, allocations: 29.83 kB / 0.5644 GB, free: 300 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.3553, allocations: 80.14 kB / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.3553, allocations: 0 / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.3553, allocations: 17.72 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3555, allocations: 314.8 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.3555, allocations: 3.984 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.589e-06/0.3555, allocations: 0 / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.378e-05/0.3555, allocations: 68.27 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3555, allocations: 0 / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.741e-05/0.3556, allocations: 59.41 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.3556, allocations: 29.7 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3557, allocations: 7.922 kB / 0.5649 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3557, allocations: 4 kB / 0.565 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.3557, allocations: 0 / 0.565 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.3557, allocations: 0 / 0.565 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.621e-05/0.3557, allocations: 4 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.3557, allocations: 0 / 0.565 GB, free: 15.66 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 9.019e-05/0.3558, allocations: 143.6 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-06/0.3558, allocations: 0 / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.163e-05/0.3558, allocations: 6.938 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.01e-07/0.3558, allocations: 0 / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.3558, allocations: 0 / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3558, allocations: 0 / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.092e-05/0.3559, allocations: 124.7 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3559, allocations: 0 / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.3559, allocations: 0 / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.3559, allocations: 3.938 kB / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.3559, allocations: 7.938 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.3559, allocations: 4 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.3559, allocations: 0 / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.827e-05/0.356, allocations: 86.83 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.356, allocations: 4 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.356, allocations: 3.938 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.191e-05/0.356, allocations: 8 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.3561, allocations: 4.031 kB / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.3561, allocations: 0 / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.66e-05/0.3561, allocations: 83.27 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3561, allocations: 0 / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000325/0.3564, allocations: 83.67 kB / 0.5655 GB, free: 15.03 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.0007968/0.3572, allocations: 0.754 MB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.795e-05/0.3573, allocations: 59.41 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3573, allocations: 0 / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.235e-05/0.3574, allocations: 55.41 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.3575, allocations: 6.25 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.3578, allocations: 150.4 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.3581, allocations: 0.673 MB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.895e-06/0.3581, allocations: 4 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.3582, allocations: 11.44 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3582, allocations: 0 / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.387, allocations: 2.932 MB / 0.57 GB, free: 10.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.38, allocations: 0 / 0.57 GB, free: 10.36 MB / 414.1 MB " [Timeout remaining time 649] (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.548354875005316] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.487126237996563 11.510978206 11.152468946 Calling exit ...