Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.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.001646/0.001646, allocations: 107.4 kB / 20.48 MB, free: 1.262 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.002064/0.002064, allocations: 213.5 kB / 23.77 MB, free: 4.434 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.432/1.432, allocations: 230.5 MB / 257.5 MB, free: 7.707 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.2469/0.2469, allocations: 46.96 MB / 360.9 MB, free: 3.895 MB / 286.1 MB " [Timeout remaining time 180] 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.TestMatrices,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 79.86 kB / 0.4962 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3139, allocations: 66.09 MB / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001754/0.3157, allocations: 491.6 kB / 0.5612 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.3179, allocations: 1.559 MB / 0.5628 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.895e-05/0.318, allocations: 0 / 0.5628 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.235e-05/0.318, allocations: 0 / 0.5628 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.151e-06/0.318, allocations: 0 / 0.5628 GB, free: 1.961 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009923/0.319, allocations: 287.2 kB / 0.563 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.028e-05/0.319, allocations: 8 kB / 0.563 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.3191, allocations: 8 kB / 0.563 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.593e-05/0.3191, allocations: 0 / 0.563 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.211e-05/0.3191, allocations: 7.984 kB / 0.5631 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.172e-06/0.3191, allocations: 3.938 kB / 0.5631 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000691/0.3198, allocations: 423 kB / 0.5635 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.3198, allocations: 0 / 0.5635 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.3198, allocations: 0 / 0.5635 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.3203, allocations: 301.1 kB / 0.5638 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3203, allocations: 4 kB / 0.5638 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3203, allocations: 3.938 kB / 0.5638 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3203, allocations: 0 / 0.5638 GB, free: 0.9375 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.0003628/0.3206, allocations: 295.7 kB / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3207, allocations: 12.03 kB / 0.5641 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.3207, allocations: 34.73 kB / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.258e-05/0.3207, allocations: 0.9375 kB / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.825e-05/0.3208, allocations: 106.5 kB / 0.5642 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.3208, allocations: 384 / 0.5642 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-06/0.3208, allocations: 4.375 kB / 0.5642 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.534e-05/0.3209, allocations: 55.53 kB / 0.5642 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.3209, allocations: 4 kB / 0.5642 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.3209, allocations: 4 kB / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.321, allocations: 0 / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.296e-05/0.321, allocations: 29.64 kB / 0.5643 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.3211, allocations: 124.8 kB / 0.5644 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.6e-05/0.3212, allocations: 40.28 kB / 0.5644 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.3212, allocations: 34.66 kB / 0.5645 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-06/0.3212, allocations: 0 / 0.5645 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.722e-05/0.3213, allocations: 60.2 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3213, allocations: 0 / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002249/0.3215, allocations: 134.7 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.3216, allocations: 77.11 kB / 0.5647 GB, free: 15.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.449e-05/0.3216, allocations: 97.81 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.3216, allocations: 25.7 kB / 0.5648 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.3217, allocations: 80.14 kB / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.3217, allocations: 0 / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.3218, allocations: 17.7 kB / 0.5649 GB, free: 15.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.3219, allocations: 314.8 kB / 0.5652 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.397e-05/0.322, allocations: 25.7 kB / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/0.322, allocations: 29.83 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.507e-05/0.3221, allocations: 64.27 kB / 0.5654 GB, free: 15.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3221, allocations: 4 kB / 0.5654 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001117/0.3222, allocations: 93.03 kB / 0.5654 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.358e-05/0.3223, allocations: 37.64 kB / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3223, allocations: 0 / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3223, allocations: 0 / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.3223, allocations: 0 / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3223, allocations: 0 / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.3223, allocations: 0 / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.3223, allocations: 4.031 kB / 0.5655 GB, free: 14.87 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.0001206/0.3224, allocations: 139.5 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.3224, allocations: 3.938 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.123e-05/0.3225, allocations: 7 kB / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3225, allocations: 0 / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3225, allocations: 0 / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.3225, allocations: 0 / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.766e-05/0.3226, allocations: 116.8 kB / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3226, allocations: 8 kB / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-07/0.3226, allocations: 0 / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3226, allocations: 7.922 kB / 0.5658 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.3226, allocations: 4 kB / 0.5658 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3226, allocations: 0 / 0.5658 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3226, allocations: 0 / 0.5658 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.3227, allocations: 120.5 kB / 0.5659 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.3227, allocations: 3.938 kB / 0.5659 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.3227, allocations: 4 kB / 0.5659 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-06/0.3227, allocations: 0 / 0.5659 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.3227, allocations: 0 / 0.5659 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.3227, allocations: 0 / 0.5659 GB, free: 14.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.45e-05/0.3228, allocations: 75.28 kB / 0.566 GB, free: 14.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3228, allocations: 8.031 kB / 0.566 GB, free: 14.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003207/0.3231, allocations: 59.8 kB / 0.566 GB, free: 14.23 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.0007779/0.3239, allocations: 0.7583 MB / 0.5668 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.324, allocations: 114.8 kB / 0.5669 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.324, allocations: 0 / 0.5669 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.63e-05/0.3241, allocations: 85.09 kB / 0.567 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.3242, allocations: 4 kB / 0.567 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.3245, allocations: 148.2 kB / 0.5671 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.772e-05/0.3246, allocations: 55.36 kB / 0.5672 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.963e-06/0.3246, allocations: 8.109 kB / 0.5672 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.467e-05/0.3246, allocations: 8.5 kB / 0.5672 GB, free: 12.91 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3246, allocations: 0 / 0.5672 GB, free: 12.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.3529, allocations: 2.73 MB / 0.5698 GB, free: 10.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.65, allocations: 3.859 kB / 0.5698 GB, free: 10.27 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_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_TestMatrices.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.604719213966746] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.753872052009683 11.772913227 11.449290032 Calling exit ...