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.001348/0.001348, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001427/0.001427, allocations: 214.9 kB / 23.75 MB, free: 4.672 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.411/1.411, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.2214/0.2214, allocations: 46.92 MB / 360.8 MB, free: 4.188 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.002374/0.002374, allocations: 83.88 kB / 0.4962 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3074, allocations: 66.09 MB / 0.5607 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001659/0.309, allocations: 497 kB / 0.5612 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.3112, allocations: 1.618 MB / 0.5628 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.986e-05/0.3112, allocations: 0 / 0.5628 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.3113, allocations: 3.938 kB / 0.5628 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.47e-06/0.3113, allocations: 0 / 0.5628 GB, free: 2.188 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.0008949/0.3122, allocations: 298.4 kB / 0.5631 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.397e-05/0.3122, allocations: 4 kB / 0.5631 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.3122, allocations: 4 kB / 0.5631 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.211e-05/0.3122, allocations: 0 / 0.5631 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.635e-05/0.3123, allocations: 7.984 kB / 0.5631 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.91e-06/0.3123, allocations: 0 / 0.5631 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008512/0.3131, allocations: 0.6081 MB / 0.5637 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.863e-06/0.3131, allocations: 0 / 0.5637 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.619e-05/0.3131, allocations: 0 / 0.5637 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004559/0.3136, allocations: 329 kB / 0.564 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3136, allocations: 0 / 0.564 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3136, allocations: 0 / 0.564 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.3136, allocations: 0 / 0.564 GB, free: 0.9531 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.0003528/0.314, allocations: 303.7 kB / 0.5643 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.314, allocations: 12.03 kB / 0.5643 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.314, allocations: 30.75 kB / 0.5643 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.038e-05/0.3141, allocations: 8.875 kB / 0.5643 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.137e-05/0.3141, allocations: 106.5 kB / 0.5644 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.3141, allocations: 384 / 0.5644 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.3142, allocations: 8.312 kB / 0.5644 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.559e-05/0.3142, allocations: 37.81 kB / 0.5645 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.3142, allocations: 0 / 0.5645 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-06/0.3143, allocations: 0 / 0.5645 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3143, allocations: 4 kB / 0.5645 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.492e-05/0.3143, allocations: 0 / 0.5645 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.3144, allocations: 116.8 kB / 0.5646 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.948e-05/0.3145, allocations: 18.61 kB / 0.5646 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.3145, allocations: 8.797 kB / 0.5646 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.3145, allocations: 0 / 0.5646 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.403e-05/0.3145, allocations: 68.19 kB / 0.5647 GB, free: 104 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3145, allocations: 4 kB / 0.5647 GB, free: 100 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001571/0.3147, allocations: 59.41 kB / 0.5647 GB, free: 28 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.159e-05/0.3148, allocations: 85.23 kB / 0.5648 GB, free: 15.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.557e-05/0.3148, allocations: 93.81 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.3148, allocations: 25.7 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.3149, allocations: 80.14 kB / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.3149, allocations: 4 kB / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.3149, allocations: 17.7 kB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3151, allocations: 310.8 kB / 0.5653 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.082e-05/0.3151, allocations: 3.938 kB / 0.5653 GB, free: 15.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.889e-06/0.3151, allocations: 4 kB / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.945e-05/0.3151, allocations: 60.27 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3151, allocations: 0 / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.479e-05/0.3152, allocations: 67.39 kB / 0.5655 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.3152, allocations: 33.64 kB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.3152, allocations: 0 / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3152, allocations: 4 kB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.3152, allocations: 0 / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.3152, allocations: 0 / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.697e-05/0.3153, allocations: 8.094 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.3153, allocations: 0 / 0.5655 GB, free: 15.16 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 9.31e-05/0.3154, allocations: 140.8 kB / 0.5656 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.3154, allocations: 3.938 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.062e-05/0.3154, allocations: 6.984 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.3154, allocations: 0 / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.3154, allocations: 0 / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.3154, allocations: 0 / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.286e-05/0.3155, allocations: 120.8 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3155, allocations: 7.938 kB / 0.5658 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.3155, allocations: 0 / 0.5658 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3155, allocations: 3.938 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.3155, allocations: 0 / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.3155, allocations: 7.984 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3155, allocations: 0 / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.435e-05/0.3156, allocations: 82.84 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-06/0.3156, allocations: 7.938 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.3156, allocations: 11.95 kB / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-06/0.3156, allocations: 0 / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.09e-05/0.3156, allocations: 0 / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.3156, allocations: 0 / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.238e-05/0.3157, allocations: 83.22 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3157, allocations: 0 / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.3159, allocations: 63.8 kB / 0.566 GB, free: 14.55 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.0007429/0.3167, allocations: 0.722 MB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.3168, allocations: 59.41 kB / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3168, allocations: 0 / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.92e-05/0.3168, allocations: 59.34 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.317, allocations: 3.938 kB / 0.5668 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.3173, allocations: 130.5 kB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.3176, allocations: 0.673 MB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.611e-06/0.3176, allocations: 4 kB / 0.5676 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.412e-05/0.3176, allocations: 7.438 kB / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3176, allocations: 0 / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.3446, allocations: 2.227 MB / 0.5698 GB, free: 10.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.22, allocations: 4.062 kB / 0.5698 GB, free: 10.64 MB / 414.1 MB " [Timeout remaining time 649] (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.02745569399849] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.326735289003409 11.342867048 11.026098982 Calling exit ...