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.001729/0.001729, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002111/0.002111, allocations: 217.5 kB / 24.54 MB, free: 4.02 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.407/1.407, allocations: 230.3 MB / 258 MB, free: 8.219 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.2284/0.2284, allocations: 46.89 MB / 361.3 MB, free: 4.445 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.002202/0.002202, allocations: 79.86 kB / 0.4966 GB, free: 8.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3189, allocations: 66.03 MB / 0.561 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.002231/0.3212, allocations: 0.4954 MB / 0.5615 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00258/0.3237, allocations: 1.579 MB / 0.5631 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.976e-05/0.3238, allocations: 3.938 kB / 0.5631 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/0.3238, allocations: 0 / 0.5631 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.933e-06/0.3238, allocations: 0 / 0.5631 GB, free: 2.594 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.001043/0.3248, allocations: 255.3 kB / 0.5633 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.852e-05/0.3249, allocations: 4 kB / 0.5633 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.076e-05/0.3249, allocations: 0 / 0.5633 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.107e-05/0.325, allocations: 4 kB / 0.5633 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.016e-05/0.325, allocations: 0 / 0.5633 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.241e-06/0.325, allocations: 4 kB / 0.5633 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.3262, allocations: 0.8039 MB / 0.5641 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.458e-06/0.3262, allocations: 0 / 0.5641 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.3262, allocations: 3.984 kB / 0.5641 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007255/0.327, allocations: 0.6531 MB / 0.5647 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.327, allocations: 0 / 0.5647 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.327, allocations: 0 / 0.5647 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.327, allocations: 3.938 kB / 0.5647 GB, free: 0.8672 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.0004623/0.3274, allocations: 369 kB / 0.5651 GB, free: 464 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3275, allocations: 16.03 kB / 0.5651 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.3275, allocations: 34.75 kB / 0.5652 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.32e-05/0.3275, allocations: 0.9375 kB / 0.5652 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.3276, allocations: 160.4 kB / 0.5653 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.3277, allocations: 384 / 0.5653 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.3277, allocations: 384 / 0.5653 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.492e-05/0.3278, allocations: 37.77 kB / 0.5653 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3278, allocations: 0 / 0.5653 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-06/0.3278, allocations: 0 / 0.5653 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3278, allocations: 0 / 0.5653 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.02e-05/0.3278, allocations: 11.92 kB / 0.5654 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.328, allocations: 145.7 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.756e-05/0.328, allocations: 18.58 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.494e-05/0.328, allocations: 8.953 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-06/0.328, allocations: 3.938 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.3281, allocations: 60.2 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3281, allocations: 4 kB / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001787/0.3282, allocations: 63.39 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.3283, allocations: 77.11 kB / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.338e-05/0.3284, allocations: 97.81 kB / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3284, allocations: 25.7 kB / 0.5658 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.964e-05/0.3284, allocations: 80.14 kB / 0.5659 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.3284, allocations: 4 kB / 0.5659 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.3285, allocations: 9.719 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3286, allocations: 319 kB / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-06/0.3286, allocations: 0 / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-06/0.3286, allocations: 7.938 kB / 0.5662 GB, free: 15.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.773e-05/0.3287, allocations: 64.27 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3287, allocations: 3.938 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.24e-05/0.3287, allocations: 55.41 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.3288, allocations: 44.12 kB / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3288, allocations: 0 / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3288, allocations: 4.094 kB / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.3288, allocations: 0 / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.3288, allocations: 0 / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.368e-05/0.3288, allocations: 0 / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.3288, allocations: 0 / 0.5664 GB, free: 14.9 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.863e-05/0.3289, allocations: 136.9 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.217e-06/0.3289, allocations: 3.938 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.5e-05/0.3289, allocations: 10.94 kB / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3289, allocations: 3.984 kB / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3289, allocations: 8 kB / 0.5666 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3289, allocations: 0 / 0.5666 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.329, allocations: 145.7 kB / 0.5667 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.329, allocations: 0 / 0.5667 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.329, allocations: 0 / 0.5667 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.329, allocations: 3.938 kB / 0.5667 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.329, allocations: 4 kB / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.329, allocations: 0 / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.3291, allocations: 3.984 kB / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.494e-05/0.3291, allocations: 86.84 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.3292, allocations: 85.05 kB / 0.5669 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.3292, allocations: 7.922 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-06/0.3292, allocations: 3.984 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.3292, allocations: 0 / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.3292, allocations: 0 / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.172e-05/0.3293, allocations: 80.3 kB / 0.567 GB, free: 14.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3293, allocations: 0 / 0.567 GB, free: 14.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000406/0.3297, allocations: 123.8 kB / 0.5671 GB, free: 14.1 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.0009968/0.3307, allocations: 0.7015 MB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.882e-05/0.3308, allocations: 63.41 kB / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3308, allocations: 0 / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.699e-05/0.3308, allocations: 59.34 kB / 0.5679 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001161/0.3309, allocations: 3.938 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.3313, allocations: 122.6 kB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.3316, allocations: 0.6769 MB / 0.5687 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.059e-06/0.3316, allocations: 0 / 0.5687 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.467e-05/0.3316, allocations: 11.44 kB / 0.5687 GB, free: 12.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3316, allocations: 0 / 0.5687 GB, free: 12.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.3604, allocations: 4.749 MB / 0.5733 GB, free: 7.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.907/8.268, allocations: 7.312 kB / 0.5733 GB, free: 7.645 MB / 414.1 MB " [Timeout remaining time 652] (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: 11.096484773093835] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.336630054982379 8.358324407 8.027186905 Calling exit ...