Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001228/0.001228, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001424/0.001424, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.404/1.404, allocations: 230.5 MB / 258.2 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2282/0.2282, allocations: 46.93 MB / 361.6 MB, free: 4.195 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-beta.om/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_4_1_0-beta_om_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 79.86 kB / 0.497 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3584, allocations: 66.09 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001768/0.3602, allocations: 489.1 kB / 0.562 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.3619, allocations: 0.7782 MB / 0.5627 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.947e-05/0.3619, allocations: 0 / 0.5627 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.3619, allocations: 0 / 0.5627 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.242e-06/0.3619, allocations: 0 / 0.5627 GB, free: 3.07 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.001873/0.3638, allocations: 0.685 MB / 0.5634 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.699e-05/0.3638, allocations: 0 / 0.5634 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.404e-05/0.3639, allocations: 4 kB / 0.5634 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.368e-05/0.3639, allocations: 4 kB / 0.5634 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.613e-05/0.3639, allocations: 4 kB / 0.5634 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.911e-06/0.3639, allocations: 0 / 0.5634 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008645/0.3648, allocations: 475.1 kB / 0.5639 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.815e-06/0.3648, allocations: 0 / 0.5639 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.3648, allocations: 7.984 kB / 0.5639 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005508/0.3654, allocations: 353.1 kB / 0.5642 GB, free: 1.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3654, allocations: 4 kB / 0.5642 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3654, allocations: 0 / 0.5642 GB, free: 1.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3654, allocations: 0 / 0.5642 GB, free: 1.551 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.0004161/0.3658, allocations: 319.6 kB / 0.5645 GB, free: 1.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3658, allocations: 8.031 kB / 0.5645 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.778e-05/0.3659, allocations: 30.75 kB / 0.5645 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.3659, allocations: 4.938 kB / 0.5646 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.63e-05/0.366, allocations: 103.6 kB / 0.5647 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3661, allocations: 384 / 0.5647 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.3661, allocations: 4.359 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.458e-05/0.3662, allocations: 30.27 kB / 0.5647 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3662, allocations: 3.938 kB / 0.5647 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.3662, allocations: 7.875 kB / 0.5647 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.3662, allocations: 4 kB / 0.5647 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.794e-05/0.3662, allocations: 3.938 kB / 0.5647 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.3664, allocations: 124.8 kB / 0.5648 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.297e-05/0.3664, allocations: 14.58 kB / 0.5648 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.3664, allocations: 12.94 kB / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-06/0.3664, allocations: 0 / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.859e-05/0.3665, allocations: 56.27 kB / 0.5649 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.3665, allocations: 4 kB / 0.5649 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001898/0.3667, allocations: 71.28 kB / 0.565 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.3668, allocations: 81.09 kB / 0.5651 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.593e-05/0.3668, allocations: 93.81 kB / 0.5651 GB, free: 416 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.3668, allocations: 25.7 kB / 0.5652 GB, free: 384 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.3669, allocations: 80.14 kB / 0.5652 GB, free: 300 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.3669, allocations: 7.984 kB / 0.5653 GB, free: 292 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.3669, allocations: 13.72 kB / 0.5653 GB, free: 272 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3671, allocations: 315 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.3671, allocations: 0 / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.033e-05/0.3671, allocations: 8 kB / 0.5656 GB, free: 15.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.34e-05/0.3672, allocations: 60.27 kB / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3672, allocations: 0 / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.215e-05/0.3672, allocations: 63.33 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/0.3673, allocations: 33.7 kB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3673, allocations: 4.031 kB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3673, allocations: 4 kB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.3673, allocations: 0 / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3673, allocations: 0 / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.3673, allocations: 0 / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.3673, allocations: 0 / 0.5657 GB, free: 15.75 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.0001054/0.3674, allocations: 143.5 kB / 0.5659 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.3674, allocations: 0 / 0.5659 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.211e-05/0.3674, allocations: 6.938 kB / 0.5659 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3674, allocations: 4 kB / 0.5659 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3674, allocations: 4 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3674, allocations: 0 / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.3675, allocations: 116.8 kB / 0.566 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3675, allocations: 3.938 kB / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3675, allocations: 0 / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3676, allocations: 4 kB / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3676, allocations: 3.938 kB / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.3676, allocations: 0 / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3676, allocations: 0 / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.3677, allocations: 102.7 kB / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-06/0.3677, allocations: 0 / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.3677, allocations: 3.938 kB / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.045e-06/0.3677, allocations: 0 / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.3677, allocations: 4 kB / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-06/0.3677, allocations: 0 / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.86e-05/0.3678, allocations: 75.28 kB / 0.5662 GB, free: 15.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3678, allocations: 0 / 0.5662 GB, free: 15.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003621/0.3681, allocations: 91.77 kB / 0.5663 GB, free: 15.11 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.0009883/0.3691, allocations: 0.7551 MB / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.3692, allocations: 63.39 kB / 0.5671 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3693, allocations: 4.062 kB / 0.5671 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.3693, allocations: 55.41 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.3694, allocations: 0 / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.3698, allocations: 138.5 kB / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.3701, allocations: 0.6768 MB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.326e-06/0.3701, allocations: 4 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.457e-05/0.3701, allocations: 7.438 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3701, allocations: 0 / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.3958, allocations: 2.83 MB / 0.5707 GB, free: 10.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.451, allocations: 11.42 kB / 0.5707 GB, free: 10.51 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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-beta_om_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.356915587093681] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.520857677794993 8.541329446 8.17303242 Calling exit ...