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.001801/0.001801, 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.002257/0.002257, allocations: 212.1 kB / 23.73 MB, free: 4.164 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.468/1.468, 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.2297/0.2297, allocations: 46.96 MB / 360.8 MB, free: 3.926 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.00234/0.00234, allocations: 83.86 kB / 0.4961 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3114, allocations: 66.08 MB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001652/0.3131, allocations: 0.4932 MB / 0.5612 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.3152, allocations: 1.54 MB / 0.5627 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.724e-05/0.3153, allocations: 0 / 0.5627 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.034e-05/0.3153, allocations: 0 / 0.5627 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.25e-06/0.3153, allocations: 0 / 0.5627 GB, free: 1.965 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.000927/0.3162, allocations: 302.5 kB / 0.5629 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.456e-05/0.3163, allocations: 12 kB / 0.563 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.525e-05/0.3163, allocations: 4 kB / 0.563 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.43e-05/0.3163, allocations: 0 / 0.563 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.743e-05/0.3163, allocations: 0 / 0.563 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.4e-06/0.3163, allocations: 0 / 0.563 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006922/0.317, allocations: 431 kB / 0.5634 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.164e-06/0.317, allocations: 0 / 0.5634 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.3171, allocations: 0 / 0.5634 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004481/0.3175, allocations: 301.1 kB / 0.5637 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3175, allocations: 4 kB / 0.5637 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3175, allocations: 0 / 0.5637 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3175, allocations: 0 / 0.5637 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.0003564/0.3179, allocations: 299.7 kB / 0.564 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3179, allocations: 8.031 kB / 0.564 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.64e-05/0.318, allocations: 34.73 kB / 0.564 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.058e-05/0.318, allocations: 4.938 kB / 0.564 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.362e-05/0.3181, allocations: 110.5 kB / 0.5641 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.3181, allocations: 384 / 0.5641 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.3181, allocations: 4.312 kB / 0.5641 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.581e-05/0.3182, allocations: 63.53 kB / 0.5642 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.3182, allocations: 0 / 0.5642 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.3182, allocations: 0 / 0.5642 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3182, allocations: 0 / 0.5642 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.411e-05/0.3182, allocations: 33.69 kB / 0.5642 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.3184, allocations: 112.8 kB / 0.5643 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.858e-05/0.3184, allocations: 48.31 kB / 0.5644 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/0.3184, allocations: 38.5 kB / 0.5644 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.3185, allocations: 0 / 0.5644 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.533e-05/0.3185, allocations: 64.27 kB / 0.5644 GB, free: 15.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.3185, allocations: 0 / 0.5644 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.000188/0.3187, allocations: 118.8 kB / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.3188, allocations: 77.11 kB / 0.5646 GB, free: 15.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.929e-05/0.3188, allocations: 93.81 kB / 0.5647 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.3188, allocations: 25.7 kB / 0.5648 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.3189, allocations: 84.14 kB / 0.5648 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.3189, allocations: 0 / 0.5648 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.3189, allocations: 17.83 kB / 0.5648 GB, free: 15.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3191, allocations: 314.8 kB / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.337e-05/0.3191, allocations: 29.64 kB / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.091e-05/0.3191, allocations: 29.7 kB / 0.5652 GB, free: 15.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.017e-05/0.3192, allocations: 60.27 kB / 0.5653 GB, free: 15.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3192, allocations: 0 / 0.5653 GB, free: 15.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.714e-05/0.3193, allocations: 89.09 kB / 0.5653 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.3193, allocations: 41.64 kB / 0.5654 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.3193, allocations: 0 / 0.5654 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.3193, allocations: 4.094 kB / 0.5654 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.3193, allocations: 3.938 kB / 0.5654 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.3193, allocations: 0 / 0.5654 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.293e-05/0.3193, allocations: 0 / 0.5654 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3193, allocations: 0 / 0.5654 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.0001042/0.3194, allocations: 143.5 kB / 0.5655 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-06/0.3195, allocations: 3.938 kB / 0.5655 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.027e-05/0.3195, allocations: 3 kB / 0.5655 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.3195, allocations: 0 / 0.5655 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3195, allocations: 8 kB / 0.5655 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.3195, allocations: 0 / 0.5655 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.779e-05/0.3196, allocations: 116.8 kB / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.3196, allocations: 0 / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-06/0.3196, allocations: 7.922 kB / 0.5657 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.3196, allocations: 3.938 kB / 0.5657 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.3196, allocations: 4 kB / 0.5657 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.3196, allocations: 0 / 0.5657 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3196, allocations: 0 / 0.5657 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.3197, allocations: 120.5 kB / 0.5658 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-06/0.3197, allocations: 7.938 kB / 0.5658 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.3197, allocations: 0 / 0.5658 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-06/0.3197, allocations: 8.031 kB / 0.5658 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.3197, allocations: 3.984 kB / 0.5658 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.3197, allocations: 0 / 0.5658 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.235e-05/0.3198, allocations: 79.22 kB / 0.5659 GB, free: 14.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3198, allocations: 0 / 0.5659 GB, free: 14.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.3201, allocations: 63.8 kB / 0.5659 GB, free: 14.21 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.000757/0.3208, allocations: 0.7425 MB / 0.5667 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.321, allocations: 114.8 kB / 0.5668 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.321, allocations: 0 / 0.5668 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.475e-05/0.321, allocations: 85.11 kB / 0.5669 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.0001217/0.3212, allocations: 12 kB / 0.5669 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.3215, allocations: 156.2 kB / 0.567 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.601e-05/0.3215, allocations: 55.34 kB / 0.5671 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.28e-06/0.3215, allocations: 4 kB / 0.5671 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.487e-05/0.3216, allocations: 7.438 kB / 0.5671 GB, free: 12.9 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3216, allocations: 0 / 0.5671 GB, free: 12.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.3488, allocations: 2.638 MB / 0.5697 GB, free: 10.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.42, allocations: 0 / 0.5697 GB, free: 10.36 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.39874739293009] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.529788877815008 11.547025164 11.226448816 Calling exit ...