Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 214.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2285/0.2285, allocations: 46.93 MB / 360.9 MB, free: 4.234 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 59.91 kB / 0.4961 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3389, allocations: 66.04 MB / 0.5606 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.00173/0.3406, allocations: 497 kB / 0.5611 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008012/0.3486, allocations: 4.946 MB / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.3486, allocations: 4 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.3487, allocations: 0 / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.3487, allocations: 0 / 0.5659 GB, free: 14.98 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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.007982/0.3567, allocations: 3.259 MB / 0.5691 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.366e-05/0.3567, allocations: 0 / 0.5691 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.664e-05/0.3568, allocations: 15.97 kB / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.458e-05/0.3568, allocations: 0 / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.765e-05/0.3568, allocations: 4 kB / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.201e-06/0.3568, allocations: 0 / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03235/0.3891, allocations: 21.05 MB / 0.5897 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.3892, allocations: 3.984 kB / 0.5897 GB, free: 6.637 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.3892, allocations: 3.938 kB / 0.5897 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05116/0.4404, allocations: 27.6 MB / 0.6167 GB, free: 10.98 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.4404, allocations: 0 / 0.6167 GB, free: 10.98 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4404, allocations: 0 / 0.6167 GB, free: 10.98 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.4404, allocations: 4 kB / 0.6167 GB, free: 10.98 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.008123/0.4485, allocations: 0.5982 MB / 0.6172 GB, free: 10.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.4485, allocations: 12.03 kB / 0.6173 GB, free: 10.33 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.822e-05/0.4486, allocations: 30.75 kB / 0.6173 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.4486, allocations: 0.9375 kB / 0.6173 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.4487, allocations: 109.1 kB / 0.6174 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.4487, allocations: 12 kB / 0.6174 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.4487, allocations: 0 / 0.6174 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.4489, allocations: 33.62 kB / 0.6174 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.4489, allocations: 4 kB / 0.6174 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.4489, allocations: 4 kB / 0.6174 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4489, allocations: 0 / 0.6174 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.957e-05/0.4489, allocations: 0 / 0.6174 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.4491, allocations: 120.6 kB / 0.6176 GB, free: 9.941 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.501e-05/0.4491, allocations: 18.61 kB / 0.6176 GB, free: 9.914 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.995e-05/0.4492, allocations: 8.859 kB / 0.6176 GB, free: 9.902 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.4492, allocations: 7.984 kB / 0.6176 GB, free: 9.895 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.584e-05/0.4492, allocations: 64.27 kB / 0.6177 GB, free: 9.816 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.4492, allocations: 0 / 0.6177 GB, free: 9.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.000216/0.4495, allocations: 59.39 kB / 0.6177 GB, free: 9.746 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.709e-05/0.4495, allocations: 81.11 kB / 0.6178 GB, free: 9.648 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.673e-05/0.4496, allocations: 89.86 kB / 0.6179 GB, free: 9.551 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.4496, allocations: 29.69 kB / 0.6179 GB, free: 9.516 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.4497, allocations: 84.14 kB / 0.618 GB, free: 9.43 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.4497, allocations: 4.125 kB / 0.618 GB, free: 9.426 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.4497, allocations: 13.72 kB / 0.618 GB, free: 9.406 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.4499, allocations: 314.8 kB / 0.6183 GB, free: 9.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.4499, allocations: 0 / 0.6183 GB, free: 9.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-06/0.4499, allocations: 0 / 0.6183 GB, free: 9.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.598e-05/0.45, allocations: 64.2 kB / 0.6184 GB, free: 9.012 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.45, allocations: 0 / 0.6184 GB, free: 9.012 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001057/0.4501, allocations: 71.45 kB / 0.6184 GB, free: 8.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.271e-05/0.4501, allocations: 29.7 kB / 0.6185 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.4501, allocations: 4 kB / 0.6185 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4502, allocations: 0 / 0.6185 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.4502, allocations: 0 / 0.6185 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4502, allocations: 0 / 0.6185 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.326e-05/0.4502, allocations: 7.875 kB / 0.6185 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.4502, allocations: 0 / 0.6185 GB, free: 8.883 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.0001226/0.4503, allocations: 139.5 kB / 0.6186 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.4503, allocations: 0 / 0.6186 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.265e-05/0.4503, allocations: 7.031 kB / 0.6186 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4503, allocations: 0 / 0.6186 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4503, allocations: 0 / 0.6186 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4504, allocations: 7.875 kB / 0.6186 GB, free: 8.715 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.4505, allocations: 120.8 kB / 0.6187 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4505, allocations: 0 / 0.6187 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.866e-06/0.4505, allocations: 7.922 kB / 0.6187 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4505, allocations: 3.984 kB / 0.6187 GB, free: 8.543 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.4505, allocations: 0 / 0.6187 GB, free: 8.543 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4505, allocations: 4 kB / 0.6187 GB, free: 8.539 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4505, allocations: 4 kB / 0.6188 GB, free: 8.535 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.4506, allocations: 86.78 kB / 0.6188 GB, free: 8.426 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-06/0.4506, allocations: 7.984 kB / 0.6188 GB, free: 8.418 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.4506, allocations: 4 kB / 0.6188 GB, free: 8.414 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.166e-05/0.4506, allocations: 0 / 0.6188 GB, free: 8.414 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.4507, allocations: 0 / 0.6188 GB, free: 8.414 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.4507, allocations: 7.938 kB / 0.6189 GB, free: 8.406 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.541e-05/0.4507, allocations: 79.31 kB / 0.6189 GB, free: 8.328 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4507, allocations: 0 / 0.6189 GB, free: 8.328 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01256/0.4633, allocations: 3.784 MB / 0.6226 GB, free: 4.543 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.0201/0.4834, allocations: 1.513 MB / 0.6241 GB, free: 3.016 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.4835, allocations: 63.34 kB / 0.6242 GB, free: 2.941 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4835, allocations: 0 / 0.6242 GB, free: 2.941 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.833e-05/0.4836, allocations: 51.41 kB / 0.6242 GB, free: 2.879 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.4837, allocations: 11.92 kB / 0.6242 GB, free: 2.867 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006744/0.4905, allocations: 344.9 kB / 0.6246 GB, free: 2.488 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.4908, allocations: 0.6729 MB / 0.6252 GB, free: 1.789 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.414e-06/0.4908, allocations: 0 / 0.6252 GB, free: 1.789 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.4908, allocations: 15.56 kB / 0.6252 GB, free: 1.773 MB / 462.1 MB Notification: Performance of SimCode: time 1.123e-06/0.4908, allocations: 0 / 0.6252 GB, free: 1.773 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4318/0.9226, allocations: 113.9 MB / 0.7365 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.61/19.53, allocations: 7.859 kB / 0.7365 GB, free: 158.2 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Math_TestMatrices2.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.55445896400488] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 19.678257578998455 19.697394816 19.253376575 Calling exit ...