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.001771/0.001771, allocations: 107.8 kB / 20.48 MB, free: 1.125 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.002041/0.002041, allocations: 212.2 kB / 23.78 MB, free: 4.328 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.458/1.458, allocations: 230.5 MB / 257.4 MB, free: 7.711 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.2366/0.2366, allocations: 46.96 MB / 360.9 MB, free: 3.855 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.003529/0.003529, allocations: 83.88 kB / 0.4962 GB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3257, allocations: 66.08 MB / 0.5607 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001771/0.3275, allocations: 497 kB / 0.5612 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.3299, allocations: 1.509 MB / 0.5627 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.213e-05/0.3299, allocations: 0 / 0.5627 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.3299, allocations: 0 / 0.5627 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.254e-06/0.3299, allocations: 0 / 0.5627 GB, free: 1.969 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.001027/0.331, allocations: 263.3 kB / 0.5629 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.512e-05/0.331, allocations: 0 / 0.5629 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.3311, allocations: 0 / 0.5629 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.794e-05/0.3311, allocations: 7.938 kB / 0.5629 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.824e-05/0.3311, allocations: 3.984 kB / 0.563 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.849e-06/0.3311, allocations: 0 / 0.563 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.3322, allocations: 0.6868 MB / 0.5636 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.3322, allocations: 4 kB / 0.5636 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.3323, allocations: 3.938 kB / 0.5636 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008342/0.3331, allocations: 0.614 MB / 0.5642 GB, free: 400 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3331, allocations: 0 / 0.5642 GB, free: 400 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3331, allocations: 4 kB / 0.5642 GB, free: 396 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.3331, allocations: 0 / 0.5642 GB, free: 396 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.0004735/0.3336, allocations: 287.9 kB / 0.5645 GB, free: 72 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3336, allocations: 12.03 kB / 0.5645 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.3337, allocations: 30.75 kB / 0.5645 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.3337, allocations: 0.9375 kB / 0.5645 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.3338, allocations: 106.5 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.3338, allocations: 4.375 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.3338, allocations: 8.359 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.3339, allocations: 59.47 kB / 0.5647 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3339, allocations: 4 kB / 0.5647 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3339, allocations: 4 kB / 0.5647 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.334, allocations: 0 / 0.5647 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.157e-05/0.334, allocations: 25.7 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.3341, allocations: 116.8 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.145e-05/0.3342, allocations: 48.27 kB / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.406e-05/0.3342, allocations: 34.66 kB / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.3343, allocations: 3.938 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.82e-05/0.3343, allocations: 60.2 kB / 0.565 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3343, allocations: 0 / 0.565 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002009/0.3345, allocations: 122.8 kB / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.3346, allocations: 77.11 kB / 0.5652 GB, free: 15.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.756e-05/0.3346, allocations: 93.81 kB / 0.5653 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.3346, allocations: 29.7 kB / 0.5653 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.3347, allocations: 80.14 kB / 0.5654 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.3347, allocations: 0 / 0.5654 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.3347, allocations: 13.72 kB / 0.5654 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3349, allocations: 310.8 kB / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.3349, allocations: 33.69 kB / 0.5657 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.092e-05/0.3349, allocations: 29.64 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.929e-05/0.335, allocations: 64.45 kB / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.335, allocations: 0 / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.705e-05/0.3351, allocations: 89.11 kB / 0.5659 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/0.3351, allocations: 43.97 kB / 0.5659 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3351, allocations: 0 / 0.5659 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3351, allocations: 0 / 0.5659 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.3351, allocations: 0 / 0.5659 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.3351, allocations: 0 / 0.5659 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.361e-05/0.3351, allocations: 0 / 0.5659 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.3352, allocations: 3.938 kB / 0.566 GB, free: 14.33 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.0001064/0.3353, allocations: 139.6 kB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.3353, allocations: 3.938 kB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.074e-05/0.3353, allocations: 6.938 kB / 0.5661 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3353, allocations: 11.92 kB / 0.5661 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3353, allocations: 0 / 0.5661 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3353, allocations: 0 / 0.5661 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.3354, allocations: 116.8 kB / 0.5662 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3354, allocations: 4 kB / 0.5662 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.3354, allocations: 0 / 0.5662 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/0.3354, allocations: 7.938 kB / 0.5662 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.3354, allocations: 4 kB / 0.5662 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.3354, allocations: 0 / 0.5662 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3354, allocations: 0 / 0.5662 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.3355, allocations: 124.5 kB / 0.5664 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-06/0.3356, allocations: 3.938 kB / 0.5664 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.3356, allocations: 0 / 0.5664 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.006e-05/0.3356, allocations: 7.984 kB / 0.5664 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.3356, allocations: 0 / 0.5664 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.3356, allocations: 0 / 0.5664 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.057e-05/0.3356, allocations: 76.3 kB / 0.5664 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3356, allocations: 0 / 0.5664 GB, free: 13.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003987/0.336, allocations: 119.9 kB / 0.5665 GB, free: 13.63 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.001125/0.3372, allocations: 0.7405 MB / 0.5673 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.3373, allocations: 114.8 kB / 0.5674 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3373, allocations: 0 / 0.5674 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.402e-05/0.3374, allocations: 89.03 kB / 0.5675 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.3375, allocations: 0 / 0.5675 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.3379, allocations: 156.2 kB / 0.5676 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.685e-05/0.338, allocations: 51.36 kB / 0.5677 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.12e-06/0.338, allocations: 0 / 0.5677 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.338, allocations: 11.44 kB / 0.5677 GB, free: 12.33 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.338, allocations: 128 / 0.5677 GB, free: 12.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03355/0.3715, allocations: 5.339 MB / 0.5729 GB, free: 7.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.54, allocations: 7.984 kB / 0.5729 GB, free: 7.074 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.462142780888826] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.649014560040087 11.674401224 11.336481474 Calling exit ...