Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.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.001537/0.001537, allocations: 111.1 kB / 20.44 MB, free: 1.059 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.001599/0.001599, allocations: 213.3 kB / 23.73 MB, free: 4.16 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.433/1.433, allocations: 230.5 MB / 257.4 MB, free: 7.82 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.2833/0.2833, allocations: 46.96 MB / 360.8 MB, free: 3.953 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.TestMatrices2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003449/0.003449, allocations: 83.88 kB / 0.4961 GB, free: 7.594 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3634, allocations: 66.09 MB / 0.5607 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001927/0.3654, allocations: 493.1 kB / 0.5611 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008356/0.3737, allocations: 4.575 MB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.99e-05/0.3737, allocations: 4 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.3737, allocations: 3.938 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.712e-06/0.3738, allocations: 0 / 0.5656 GB, free: 14.99 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.008585/0.3823, allocations: 3.258 MB / 0.5688 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.786e-05/0.3824, allocations: 3.984 kB / 0.5688 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.3824, allocations: 7.984 kB / 0.5688 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.974e-05/0.3825, allocations: 0 / 0.5688 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.688e-05/0.3825, allocations: 4 kB / 0.5688 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.861e-06/0.3825, allocations: 0 / 0.5688 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03075/0.4132, allocations: 19.8 MB / 0.5881 GB, free: 7.898 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.4132, allocations: 3.984 kB / 0.5882 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.4133, allocations: 0 / 0.5882 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03627/0.4495, allocations: 26.13 MB / 0.6137 GB, free: 13.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.4495, allocations: 4 kB / 0.6137 GB, free: 13.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4495, allocations: 0 / 0.6137 GB, free: 13.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.4496, allocations: 0 / 0.6137 GB, free: 13.71 MB / 462.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.006875/0.4564, allocations: 0.5931 MB / 0.6143 GB, free: 13.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.4565, allocations: 12.03 kB / 0.6143 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.4565, allocations: 34.75 kB / 0.6143 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.4566, allocations: 4.922 kB / 0.6143 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.571e-05/0.4566, allocations: 109.7 kB / 0.6144 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.4566, allocations: 0 / 0.6144 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-06/0.4567, allocations: 0 / 0.6144 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.4568, allocations: 55.41 kB / 0.6145 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.4568, allocations: 7.938 kB / 0.6145 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.4568, allocations: 0 / 0.6145 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4568, allocations: 3.938 kB / 0.6145 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.898e-05/0.4568, allocations: 33.7 kB / 0.6145 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.457, allocations: 128.6 kB / 0.6146 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.556e-05/0.457, allocations: 44.31 kB / 0.6147 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.4571, allocations: 30.56 kB / 0.6147 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.4571, allocations: 0 / 0.6147 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/0.4571, allocations: 60.33 kB / 0.6148 GB, free: 12.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.4571, allocations: 0 / 0.6148 GB, free: 12.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002149/0.4573, allocations: 122.7 kB / 0.6149 GB, free: 12.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.4574, allocations: 81.05 kB / 0.615 GB, free: 12.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.738e-05/0.4574, allocations: 89.86 kB / 0.615 GB, free: 12.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.4575, allocations: 29.83 kB / 0.6151 GB, free: 12.06 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.4575, allocations: 80.14 kB / 0.6151 GB, free: 11.98 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.4575, allocations: 0 / 0.6151 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.4575, allocations: 21.7 kB / 0.6152 GB, free: 11.95 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.4577, allocations: 314.8 kB / 0.6155 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.018e-05/0.4577, allocations: 29.7 kB / 0.6155 GB, free: 11.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.959e-05/0.4577, allocations: 25.7 kB / 0.6155 GB, free: 11.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.647e-05/0.4578, allocations: 64.2 kB / 0.6156 GB, free: 11.49 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.4578, allocations: 0 / 0.6156 GB, free: 11.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.261e-05/0.4579, allocations: 93.19 kB / 0.6157 GB, free: 11.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/0.4579, allocations: 33.7 kB / 0.6157 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.4579, allocations: 0 / 0.6157 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.4579, allocations: 0 / 0.6157 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.026e-06/0.4579, allocations: 4 kB / 0.6157 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.458, allocations: 0 / 0.6157 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.458, allocations: 0 / 0.6157 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.458, allocations: 0 / 0.6157 GB, free: 11.34 MB / 462.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.0001019/0.4581, allocations: 143.5 kB / 0.6158 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-06/0.4581, allocations: 0 / 0.6158 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.257e-05/0.4581, allocations: 3 kB / 0.6158 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.4581, allocations: 4 kB / 0.6158 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4581, allocations: 0 / 0.6158 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.4581, allocations: 0 / 0.6158 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.4582, allocations: 124.7 kB / 0.616 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4582, allocations: 0 / 0.616 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.4582, allocations: 0 / 0.616 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.4582, allocations: 3.984 kB / 0.616 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.4582, allocations: 3.938 kB / 0.616 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.4582, allocations: 4 kB / 0.616 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4582, allocations: 0 / 0.616 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.4584, allocations: 124.5 kB / 0.6161 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-06/0.4584, allocations: 3.938 kB / 0.6161 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.4584, allocations: 0 / 0.6161 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.164e-05/0.4584, allocations: 4 kB / 0.6161 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.4584, allocations: 11.92 kB / 0.6161 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.4584, allocations: 0 / 0.6161 GB, free: 10.83 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.486e-05/0.4584, allocations: 75.28 kB / 0.6162 GB, free: 10.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4584, allocations: 0 / 0.6162 GB, free: 10.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01251/0.4709, allocations: 3.787 MB / 0.6199 GB, free: 6.965 MB / 462.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.0261/0.497, allocations: 1.549 MB / 0.6214 GB, free: 5.391 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.4972, allocations: 110.8 kB / 0.6215 GB, free: 5.258 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4972, allocations: 0 / 0.6215 GB, free: 5.258 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.815e-05/0.4973, allocations: 89.05 kB / 0.6216 GB, free: 5.152 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.4975, allocations: 4 kB / 0.6216 GB, free: 5.148 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007416/0.5049, allocations: 378.5 kB / 0.622 GB, free: 4.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.603e-05/0.505, allocations: 51.36 kB / 0.622 GB, free: 4.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.484e-06/0.505, allocations: 4.062 kB / 0.622 GB, free: 4.656 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.505, allocations: 15.44 kB / 0.622 GB, free: 4.641 MB / 462.1 MB Notification: Performance of SimCode: time 1.373e-06/0.505, allocations: 0 / 0.622 GB, free: 4.641 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1918/0.6968, allocations: 114.4 MB / 0.7337 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.88/19.58, allocations: 4.062 kB / 0.7337 GB, free: 2.152 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_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_TestMatrices2.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.79862943198532] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 19.727353705093265 19.963050694 19.511023805 Calling exit ...