Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.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.001388/0.001388, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001549/0.001549, allocations: 220 kB / 22.92 MB, free: 5.191 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.306/1.306, allocations: 230.2 MB / 256.2 MB, free: 8.621 MB / 206.1 MB " [Timeout remaining time 179] 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.2017/0.2017, allocations: 46.89 MB / 359.3 MB, free: 4.996 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.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3",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.002248/0.002248, allocations: 83.86 kB / 0.494 GB, free: 9.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.257, allocations: 65.99 MB / 0.5584 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001524/0.2585, allocations: 493.1 kB / 0.5589 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.2606, allocations: 1.579 MB / 0.5604 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.91e-05/0.2606, allocations: 0 / 0.5604 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.668e-06/0.2606, allocations: 3.938 kB / 0.5604 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.629e-06/0.2606, allocations: 4 kB / 0.5604 GB, free: 3.168 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0007976/0.2614, allocations: 227.4 kB / 0.5606 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.757e-05/0.2615, allocations: 0 / 0.5606 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.18e-05/0.2615, allocations: 4 kB / 0.5606 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.128e-05/0.2615, allocations: 3.938 kB / 0.5606 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.732e-05/0.2615, allocations: 7.969 kB / 0.5606 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.95e-06/0.2616, allocations: 0 / 0.5606 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009297/0.2625, allocations: 0.7376 MB / 0.5614 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.915e-06/0.2625, allocations: 8 kB / 0.5614 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.474e-05/0.2625, allocations: 0 / 0.5614 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006949/0.2632, allocations: 0.6452 MB / 0.562 GB, free: 1.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2632, allocations: 0 / 0.562 GB, free: 1.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2632, allocations: 0 / 0.562 GB, free: 1.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.2632, allocations: 0 / 0.562 GB, free: 1.539 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.0004486/0.2637, allocations: 379.3 kB / 0.5624 GB, free: 1.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.2637, allocations: 8.031 kB / 0.5624 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.984e-05/0.2637, allocations: 30.75 kB / 0.5624 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.2637, allocations: 4.938 kB / 0.5624 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.267e-05/0.2638, allocations: 164.4 kB / 0.5626 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.2638, allocations: 384 / 0.5626 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-06/0.2638, allocations: 384 / 0.5626 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.113e-05/0.2639, allocations: 33.83 kB / 0.5626 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.2639, allocations: 0 / 0.5626 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-06/0.2639, allocations: 3.938 kB / 0.5626 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.2639, allocations: 0 / 0.5626 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.551e-05/0.2639, allocations: 3.984 kB / 0.5626 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.2641, allocations: 149.7 kB / 0.5628 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.403e-05/0.2641, allocations: 18.58 kB / 0.5628 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.219e-05/0.2641, allocations: 4.859 kB / 0.5628 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.2641, allocations: 3.984 kB / 0.5628 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/0.2642, allocations: 64.27 kB / 0.5628 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2642, allocations: 0 / 0.5628 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001483/0.2643, allocations: 71.33 kB / 0.5629 GB, free: 436 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.2644, allocations: 81.23 kB / 0.563 GB, free: 336 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.251e-05/0.2644, allocations: 93.81 kB / 0.5631 GB, free: 232 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.2644, allocations: 25.7 kB / 0.5631 GB, free: 200 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.844e-05/0.2645, allocations: 80.14 kB / 0.5632 GB, free: 116 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.2645, allocations: 0 / 0.5632 GB, free: 116 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.2645, allocations: 13.72 kB / 0.5632 GB, free: 96 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.2646, allocations: 314.8 kB / 0.5635 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.715e-06/0.2646, allocations: 0 / 0.5635 GB, free: 15.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.326e-06/0.2647, allocations: 8 kB / 0.5635 GB, free: 15.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.769e-05/0.2647, allocations: 64.2 kB / 0.5636 GB, free: 15.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2647, allocations: 0 / 0.5636 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.324e-05/0.2648, allocations: 63.34 kB / 0.5636 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.2648, allocations: 37.62 kB / 0.5637 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2648, allocations: 7.938 kB / 0.5637 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.2648, allocations: 4 kB / 0.5637 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.2648, allocations: 0 / 0.5637 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.2648, allocations: 0 / 0.5637 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.482e-05/0.2648, allocations: 4.094 kB / 0.5637 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.2648, allocations: 0 / 0.5637 GB, free: 15.56 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.304e-05/0.2649, allocations: 139.5 kB / 0.5638 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.2649, allocations: 3.938 kB / 0.5638 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-06/0.2649, allocations: 3.125 kB / 0.5638 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2649, allocations: 3.984 kB / 0.5638 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.2649, allocations: 0 / 0.5638 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.2649, allocations: 0 / 0.5638 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.508e-05/0.265, allocations: 145.7 kB / 0.564 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.265, allocations: 4 kB / 0.564 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.265, allocations: 0 / 0.564 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.265, allocations: 3.938 kB / 0.564 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-06/0.265, allocations: 0 / 0.564 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.265, allocations: 3.938 kB / 0.564 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.2651, allocations: 4 kB / 0.564 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.956e-05/0.2651, allocations: 90.81 kB / 0.5641 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.2652, allocations: 81.05 kB / 0.5641 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.2652, allocations: 12.02 kB / 0.5641 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.667e-06/0.2652, allocations: 0 / 0.5641 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-06/0.2652, allocations: 0 / 0.5641 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.2652, allocations: 0 / 0.5641 GB, free: 14.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.813e-05/0.2652, allocations: 76.3 kB / 0.5642 GB, free: 14.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2652, allocations: 0 / 0.5642 GB, free: 14.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004022/0.2656, allocations: 119.9 kB / 0.5643 GB, free: 14.78 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.000907/0.2665, allocations: 0.7156 MB / 0.565 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.397e-05/0.2666, allocations: 63.44 kB / 0.5651 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2666, allocations: 0 / 0.5651 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.703e-05/0.2667, allocations: 55.41 kB / 0.5651 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001052/0.2668, allocations: 0 / 0.5651 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.2671, allocations: 126.6 kB / 0.5653 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.2673, allocations: 0.6806 MB / 0.5659 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.248e-06/0.2674, allocations: 0 / 0.5659 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.204e-05/0.2674, allocations: 7.562 kB / 0.5659 GB, free: 13.01 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2674, allocations: 4 kB / 0.5659 GB, free: 13.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.2923, allocations: 4.712 MB / 0.5705 GB, free: 8.348 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.942/7.234, allocations: 8 kB / 0.5705 GB, free: 8.34 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3_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_TestMatrices3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.75375772699772]