Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.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.00177/0.00177, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.001996/0.001996, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.446/1.446, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2228/0.2228, allocations: 46.94 MB / 361.6 MB, free: 4.191 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.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2b",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.002334/0.002334, allocations: 83.86 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3226, allocations: 66.08 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001625/0.3243, allocations: 496.2 kB / 0.562 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003204/0.3275, allocations: 2.168 MB / 0.5641 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.3275, allocations: 0 / 0.5641 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.3275, allocations: 3.938 kB / 0.5641 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.51e-06/0.3275, allocations: 0 / 0.5641 GB, free: 1.641 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.3295, allocations: 0.7585 MB / 0.5648 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.376e-05/0.3295, allocations: 8 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.474e-05/0.3296, allocations: 0 / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.272e-05/0.3296, allocations: 0 / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.677e-05/0.3296, allocations: 7.984 kB / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.719e-06/0.3296, allocations: 0 / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.3319, allocations: 1.704 MB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-06/0.3319, allocations: 0 / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.774e-05/0.332, allocations: 4 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.3336, allocations: 1.565 MB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3336, allocations: 4 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3336, allocations: 0 / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.3336, allocations: 0 / 0.568 GB, free: 13.59 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.0005558/0.3342, allocations: 343.4 kB / 0.5684 GB, free: 13.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3342, allocations: 8.031 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.3342, allocations: 34.75 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.175e-05/0.3343, allocations: 0.9375 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.943e-05/0.3343, allocations: 110.5 kB / 0.5685 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.3343, allocations: 4.375 kB / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.3344, allocations: 4.375 kB / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.47e-05/0.3345, allocations: 33.83 kB / 0.5686 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.3345, allocations: 0 / 0.5686 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.3345, allocations: 7.922 kB / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.3345, allocations: 0 / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.693e-05/0.3345, allocations: 3.984 kB / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.3346, allocations: 116.8 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.473e-05/0.3347, allocations: 22.52 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.3347, allocations: 12.95 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.3347, allocations: 0 / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.3347, allocations: 60.2 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.3347, allocations: 0 / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001613/0.3349, allocations: 71.33 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.335, allocations: 77.11 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.352e-05/0.335, allocations: 93.98 kB / 0.569 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.335, allocations: 25.7 kB / 0.569 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.3351, allocations: 84.14 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.3351, allocations: 3.938 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.3351, allocations: 13.72 kB / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3352, allocations: 314.8 kB / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.864e-06/0.3353, allocations: 0 / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-06/0.3353, allocations: 7.938 kB / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.489e-05/0.3353, allocations: 64.33 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3353, allocations: 0 / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.541e-05/0.3354, allocations: 59.41 kB / 0.5696 GB, free: 11.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.3354, allocations: 43.97 kB / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3354, allocations: 0 / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3354, allocations: 0 / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.3354, allocations: 0 / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3355, allocations: 3.938 kB / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.334e-05/0.3355, allocations: 0 / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.3355, allocations: 4.031 kB / 0.5696 GB, free: 11.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 8.947e-05/0.3356, allocations: 135.5 kB / 0.5697 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-06/0.3356, allocations: 3.938 kB / 0.5697 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.638e-06/0.3356, allocations: 3 kB / 0.5697 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.51e-07/0.3356, allocations: 0 / 0.5697 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.3356, allocations: 4 kB / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3356, allocations: 3.984 kB / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.92e-05/0.3357, allocations: 116.8 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3357, allocations: 3.938 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.3357, allocations: 4 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3357, allocations: 3.938 kB / 0.5699 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.3357, allocations: 4 kB / 0.5699 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3357, allocations: 4 kB / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3357, allocations: 3.984 kB / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.3358, allocations: 90.83 kB / 0.57 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-06/0.3358, allocations: 3.938 kB / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.3358, allocations: 32 / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-06/0.3358, allocations: 4 kB / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.3358, allocations: 3.938 kB / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.3358, allocations: 7.984 kB / 0.57 GB, free: 11.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.332e-05/0.3359, allocations: 75.28 kB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3359, allocations: 0 / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007311/0.3366, allocations: 275.5 kB / 0.5703 GB, free: 10.93 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.001578/0.3382, allocations: 0.9353 MB / 0.5712 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.3383, allocations: 63.34 kB / 0.5713 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3383, allocations: 0 / 0.5713 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.814e-05/0.3383, allocations: 55.39 kB / 0.5713 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.3385, allocations: 6.812 kB / 0.5714 GB, free: 9.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.3389, allocations: 158.3 kB / 0.5715 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.3392, allocations: 0.6808 MB / 0.5722 GB, free: 8.922 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.718e-06/0.3392, allocations: 0 / 0.5722 GB, free: 8.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.306e-05/0.3392, allocations: 7.438 kB / 0.5722 GB, free: 8.914 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3392, allocations: 0 / 0.5722 GB, free: 8.914 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.3723, allocations: 8.235 MB / 0.5802 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.404, allocations: 4.062 kB / 0.5802 GB, free: 0.7227 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b_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_TestMatrices2b.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.2728450903669] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.479944291058928 8.507104696 8.168784324 Calling exit ...