Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001857/0.001857, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.003012/0.003012, allocations: 213.6 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.476/1.476, allocations: 230.5 MB / 257.4 MB, free: 7.801 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.2291/0.2291, allocations: 46.95 MB / 360.8 MB, free: 3.945 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.TestMatrices3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 84.16 kB / 0.4961 GB, free: 7.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3194, allocations: 66.08 MB / 0.5607 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.00174/0.3212, allocations: 493.1 kB / 0.5611 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.3235, allocations: 1.524 MB / 0.5626 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.585e-05/0.3235, allocations: 0 / 0.5626 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.3235, allocations: 0 / 0.5626 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.032e-06/0.3235, allocations: 0 / 0.5626 GB, free: 2.039 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0009992/0.3245, allocations: 247.4 kB / 0.5629 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.404e-05/0.3246, allocations: 7.984 kB / 0.5629 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.3246, allocations: 0 / 0.5629 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.632e-05/0.3246, allocations: 4 kB / 0.5629 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.693e-05/0.3247, allocations: 0 / 0.5629 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.3247, allocations: 4 kB / 0.5629 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.3257, allocations: 0.6829 MB / 0.5636 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.937e-06/0.3257, allocations: 0 / 0.5636 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.3257, allocations: 7.938 kB / 0.5636 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000787/0.3265, allocations: 0.614 MB / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3265, allocations: 0 / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3265, allocations: 0 / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3265, allocations: 0 / 0.5642 GB, free: 488 kB / 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.0004711/0.327, allocations: 295.8 kB / 0.5644 GB, free: 156 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3271, allocations: 12.03 kB / 0.5645 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.3271, allocations: 38.73 kB / 0.5645 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.3271, allocations: 0.9375 kB / 0.5645 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.3272, allocations: 102.5 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.3272, allocations: 384 / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.3273, allocations: 384 / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.3274, allocations: 67.45 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.3274, allocations: 0 / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.3274, allocations: 0 / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.3274, allocations: 0 / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.56e-05/0.3274, allocations: 33.7 kB / 0.5647 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.3276, allocations: 120.8 kB / 0.5648 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.239e-05/0.3276, allocations: 44.31 kB / 0.5648 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.3277, allocations: 34.5 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-06/0.3277, allocations: 0 / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.393e-05/0.3277, allocations: 76.14 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.3277, allocations: 0 / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002024/0.3279, allocations: 114.8 kB / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.328, allocations: 77.11 kB / 0.5651 GB, free: 15.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.376e-05/0.328, allocations: 93.81 kB / 0.5652 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.328, allocations: 29.83 kB / 0.5652 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.096e-05/0.3281, allocations: 88.14 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.3281, allocations: 0 / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.3281, allocations: 13.7 kB / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3283, allocations: 314.8 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.3283, allocations: 25.7 kB / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.913e-05/0.3283, allocations: 25.7 kB / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.644e-05/0.3284, allocations: 68.2 kB / 0.5658 GB, free: 14.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3284, allocations: 0 / 0.5658 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.71e-05/0.3285, allocations: 93.16 kB / 0.5658 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.3285, allocations: 33.64 kB / 0.5659 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.3285, allocations: 0 / 0.5659 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.3286, allocations: 4 kB / 0.5659 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.3286, allocations: 0 / 0.5659 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3286, allocations: 3.984 kB / 0.5659 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.416e-05/0.3286, allocations: 0 / 0.5659 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.3286, allocations: 0 / 0.5659 GB, free: 14.41 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.907e-05/0.3287, allocations: 143.5 kB / 0.566 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.3287, allocations: 3.938 kB / 0.566 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.27e-05/0.3287, allocations: 11.03 kB / 0.566 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.3287, allocations: 0 / 0.566 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3287, allocations: 0 / 0.566 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3287, allocations: 0 / 0.566 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.989e-05/0.3288, allocations: 120.7 kB / 0.5662 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.3288, allocations: 0 / 0.5662 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3288, allocations: 0 / 0.5662 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3288, allocations: 7.922 kB / 0.5662 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.3288, allocations: 0 / 0.5662 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.3288, allocations: 4 kB / 0.5662 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3288, allocations: 0 / 0.5662 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.3289, allocations: 120.5 kB / 0.5663 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.3289, allocations: 7.875 kB / 0.5663 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.3289, allocations: 0 / 0.5663 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-06/0.329, allocations: 0 / 0.5663 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.329, allocations: 4 kB / 0.5663 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.329, allocations: 3.938 kB / 0.5663 GB, free: 13.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.094e-05/0.329, allocations: 76.3 kB / 0.5664 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.329, allocations: 0 / 0.5664 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003838/0.3294, allocations: 123.9 kB / 0.5665 GB, free: 13.7 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.001009/0.3304, allocations: 0.7395 MB / 0.5672 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.3305, allocations: 110.8 kB / 0.5673 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3305, allocations: 0 / 0.5673 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.782e-05/0.3306, allocations: 89.19 kB / 0.5674 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.3307, allocations: 3.938 kB / 0.5674 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.3311, allocations: 152.3 kB / 0.5675 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.163e-05/0.3311, allocations: 55.36 kB / 0.5676 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.38e-06/0.3311, allocations: 0 / 0.5676 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.412e-05/0.3312, allocations: 7.438 kB / 0.5676 GB, free: 12.41 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3312, allocations: 0 / 0.5676 GB, free: 12.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.3615, allocations: 5.259 MB / 0.5727 GB, free: 7.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.68, allocations: 3.938 kB / 0.5727 GB, free: 7.238 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.635083811823279] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.791784286033362 11.816751665 11.485431601 Calling exit ...