Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 211.9 kB / 24.51 MB, free: 3.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.227/0.227, allocations: 46.96 MB / 361.7 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.89 kB / 0.4969 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3029, allocations: 66.03 MB / 0.5613 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001656/0.3045, allocations: 0.497 MB / 0.5618 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008597/0.3131, allocations: 4.569 MB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.3132, allocations: 0 / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.3132, allocations: 0 / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.384e-06/0.3132, allocations: 0 / 0.5663 GB, free: 15.16 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00857/0.3217, allocations: 3.282 MB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.3218, allocations: 0 / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.3219, allocations: 4 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.907e-05/0.3219, allocations: 0 / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.727e-05/0.3219, allocations: 7.938 kB / 0.5695 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.691e-06/0.3219, allocations: 0 / 0.5695 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03016/0.3521, allocations: 19.97 MB / 0.589 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.3521, allocations: 0 / 0.589 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.3521, allocations: 4 kB / 0.589 GB, free: 7.871 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03796/0.3901, allocations: 26.12 MB / 0.6145 GB, free: 13.7 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.3901, allocations: 0 / 0.6145 GB, free: 13.7 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3901, allocations: 0 / 0.6145 GB, free: 13.7 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3901, allocations: 4 kB / 0.6145 GB, free: 13.7 MB / 462.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.0071/0.3972, allocations: 0.5982 MB / 0.6151 GB, free: 13.06 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3972, allocations: 16.02 kB / 0.6151 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.439e-05/0.3972, allocations: 192 / 0.6151 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.308e-05/0.3973, allocations: 30.75 kB / 0.6151 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.3973, allocations: 8.688 kB / 0.6152 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.508e-05/0.3974, allocations: 109.2 kB / 0.6153 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.3974, allocations: 0 / 0.6153 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.3974, allocations: 0 / 0.6153 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.495e-05/0.3975, allocations: 59.41 kB / 0.6153 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3975, allocations: 4 kB / 0.6153 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.3975, allocations: 0 / 0.6153 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3975, allocations: 0 / 0.6153 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.348e-05/0.3975, allocations: 33.62 kB / 0.6154 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.3977, allocations: 120.7 kB / 0.6155 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.175e-05/0.3977, allocations: 48.31 kB / 0.6155 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.3978, allocations: 34.56 kB / 0.6155 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.3978, allocations: 0 / 0.6155 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.3978, allocations: 56.27 kB / 0.6156 GB, free: 12.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.3978, allocations: 0 / 0.6156 GB, free: 12.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001891/0.398, allocations: 126.8 kB / 0.6157 GB, free: 12.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.3981, allocations: 77.11 kB / 0.6158 GB, free: 12.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.395e-05/0.3981, allocations: 93.8 kB / 0.6159 GB, free: 12.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.3981, allocations: 25.7 kB / 0.6159 GB, free: 12.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.3982, allocations: 84.08 kB / 0.616 GB, free: 11.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.3982, allocations: 0 / 0.616 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.3982, allocations: 17.7 kB / 0.616 GB, free: 11.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3983, allocations: 310.8 kB / 0.6163 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.914e-05/0.3984, allocations: 29.7 kB / 0.6163 GB, free: 11.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.119e-05/0.3984, allocations: 29.7 kB / 0.6164 GB, free: 11.55 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.865e-05/0.3984, allocations: 64.45 kB / 0.6164 GB, free: 11.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3984, allocations: 0 / 0.6164 GB, free: 11.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.527e-05/0.3985, allocations: 89.09 kB / 0.6165 GB, free: 11.37 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.3986, allocations: 40.3 kB / 0.6165 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3986, allocations: 3.938 kB / 0.6165 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3986, allocations: 0 / 0.6165 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.3986, allocations: 0 / 0.6165 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3986, allocations: 7.938 kB / 0.6166 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.703e-05/0.3986, allocations: 3.938 kB / 0.6166 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3986, allocations: 0 / 0.6166 GB, free: 11.31 MB / 462.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.483e-05/0.3987, allocations: 147.5 kB / 0.6167 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.3987, allocations: 0 / 0.6167 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.828e-06/0.3987, allocations: 3 kB / 0.6167 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.81e-07/0.3987, allocations: 0 / 0.6167 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3987, allocations: 0 / 0.6167 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3987, allocations: 3.938 kB / 0.6167 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.689e-05/0.3988, allocations: 116.8 kB / 0.6168 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3988, allocations: 3.984 kB / 0.6168 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.3988, allocations: 0 / 0.6168 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.3988, allocations: 0 / 0.6168 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3988, allocations: 3.984 kB / 0.6168 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.3988, allocations: 4 kB / 0.6168 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3988, allocations: 0 / 0.6168 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.399, allocations: 128.5 kB / 0.617 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-06/0.399, allocations: 4 kB / 0.617 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.399, allocations: 0 / 0.617 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-06/0.399, allocations: 3.938 kB / 0.617 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.399, allocations: 3.938 kB / 0.617 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.399, allocations: 4 kB / 0.617 GB, free: 10.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.41e-05/0.399, allocations: 75.28 kB / 0.617 GB, free: 10.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.399, allocations: 0 / 0.617 GB, free: 10.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01046/0.4095, allocations: 3.791 MB / 0.6207 GB, free: 6.934 MB / 462.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.02111/0.4306, allocations: 1.524 MB / 0.6222 GB, free: 5.391 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.4308, allocations: 118.7 kB / 0.6223 GB, free: 5.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4308, allocations: 4 kB / 0.6223 GB, free: 5.246 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.29e-05/0.4309, allocations: 77.11 kB / 0.6224 GB, free: 5.152 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.431, allocations: 10.12 kB / 0.6224 GB, free: 5.145 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007515/0.4386, allocations: 378.8 kB / 0.6228 GB, free: 4.727 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.704e-05/0.4386, allocations: 55.36 kB / 0.6228 GB, free: 4.652 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.073e-06/0.4386, allocations: 0 / 0.6228 GB, free: 4.652 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.4387, allocations: 11.44 kB / 0.6229 GB, free: 4.641 MB / 462.1 MB Notification: Performance of SimCode: time 1.623e-06/0.4387, allocations: 0 / 0.6229 GB, free: 4.641 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1763/0.615, allocations: 114 MB / 0.7342 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.95/18.56, allocations: 10.56 kB / 0.7342 GB, free: 2.527 MB / 0.5606 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.634266216075048] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 18.763013327028602 19.019701448 18.626226287 Calling exit ...