Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001713/0.001713, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.00206/0.00206, allocations: 218.7 kB / 24.52 MB, free: 3.91 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.413/1.413, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2228/0.2228, allocations: 44.93 MB / 359.6 MB, free: 6.086 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Math_TestMatrices2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.89 kB / 0.4938 GB, free: 10.61 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3241, allocations: 65.48 MB / 0.5577 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001674/0.3258, allocations: 489.4 kB / 0.5582 GB, free: 7.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007906/0.3337, allocations: 4.575 MB / 0.5626 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.3337, allocations: 8 kB / 0.5627 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.3337, allocations: 0 / 0.5627 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.352e-06/0.3337, allocations: 0 / 0.5627 GB, free: 2.5 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.007963/0.3417, allocations: 3.27 MB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.313e-05/0.3418, allocations: 7.984 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.3418, allocations: 0 / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.427e-05/0.3418, allocations: 0 / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.833e-05/0.3418, allocations: 3.938 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.33e-06/0.3418, allocations: 0 / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03221/0.374, allocations: 19.97 MB / 0.5854 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.3741, allocations: 0 / 0.5854 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.3741, allocations: 11.98 kB / 0.5854 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03717/0.4113, allocations: 26.12 MB / 0.6109 GB, free: 1.059 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4113, allocations: 0 / 0.6109 GB, free: 1.059 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4113, allocations: 0 / 0.6109 GB, free: 1.059 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.4113, allocations: 0 / 0.6109 GB, free: 1.059 MB / 446.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.008628/0.4199, allocations: 0.6021 MB / 0.6115 GB, free: 428 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.4199, allocations: 8.031 kB / 0.6115 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.722e-05/0.42, allocations: 4.188 kB / 0.6115 GB, free: 416 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.72e-05/0.42, allocations: 34.73 kB / 0.6115 GB, free: 372 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.42, allocations: 4.688 kB / 0.6115 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.82e-05/0.4201, allocations: 109.2 kB / 0.6116 GB, free: 232 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.4201, allocations: 0 / 0.6116 GB, free: 232 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.4201, allocations: 7.984 kB / 0.6116 GB, free: 224 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.511e-05/0.4202, allocations: 51.41 kB / 0.6117 GB, free: 160 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.4202, allocations: 0 / 0.6117 GB, free: 160 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.4202, allocations: 0 / 0.6117 GB, free: 160 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4203, allocations: 4 kB / 0.6117 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.293e-05/0.4203, allocations: 29.64 kB / 0.6117 GB, free: 120 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.4204, allocations: 128.7 kB / 0.6118 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.416e-05/0.4205, allocations: 44.28 kB / 0.6119 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.4205, allocations: 30.56 kB / 0.6119 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.4205, allocations: 8.062 kB / 0.6119 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.058e-05/0.4206, allocations: 56.27 kB / 0.612 GB, free: 15.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.4206, allocations: 0 / 0.612 GB, free: 15.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002144/0.4208, allocations: 122.7 kB / 0.6121 GB, free: 15.63 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.4209, allocations: 81.05 kB / 0.6122 GB, free: 15.53 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.869e-05/0.421, allocations: 97.8 kB / 0.6123 GB, free: 15.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.421, allocations: 25.7 kB / 0.6123 GB, free: 15.39 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.421, allocations: 80.14 kB / 0.6124 GB, free: 15.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.421, allocations: 0 / 0.6124 GB, free: 15.31 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.4211, allocations: 17.83 kB / 0.6124 GB, free: 15.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4212, allocations: 318.8 kB / 0.6127 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.656e-05/0.4212, allocations: 25.7 kB / 0.6127 GB, free: 14.94 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.366e-05/0.4213, allocations: 33.64 kB / 0.6127 GB, free: 14.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.388e-05/0.4213, allocations: 56.27 kB / 0.6128 GB, free: 14.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4213, allocations: 0 / 0.6128 GB, free: 14.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.564e-05/0.4214, allocations: 97.03 kB / 0.6129 GB, free: 14.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.4215, allocations: 36.36 kB / 0.6129 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4215, allocations: 4 kB / 0.6129 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.4215, allocations: 0 / 0.6129 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.4215, allocations: 4.094 kB / 0.6129 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.4215, allocations: 0 / 0.6129 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.877e-05/0.4215, allocations: 3.938 kB / 0.6129 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.4215, allocations: 4 kB / 0.6129 GB, free: 14.66 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 0.0001024/0.4216, allocations: 135.5 kB / 0.6131 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-06/0.4216, allocations: 0 / 0.6131 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.44e-05/0.4216, allocations: 7 kB / 0.6131 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.4216, allocations: 0 / 0.6131 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4216, allocations: 0 / 0.6131 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4216, allocations: 3.938 kB / 0.6131 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.335e-05/0.4217, allocations: 116.8 kB / 0.6132 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.4217, allocations: 0 / 0.6132 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-06/0.4217, allocations: 7.984 kB / 0.6132 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.4217, allocations: 0 / 0.6132 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.4217, allocations: 4 kB / 0.6132 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.4217, allocations: 0 / 0.6132 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4217, allocations: 0 / 0.6132 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.4219, allocations: 124.4 kB / 0.6133 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-06/0.4219, allocations: 0 / 0.6133 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.4219, allocations: 4 kB / 0.6133 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-06/0.4219, allocations: 32 / 0.6133 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.4219, allocations: 7.938 kB / 0.6133 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.4219, allocations: 0 / 0.6133 GB, free: 14.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.823e-05/0.4219, allocations: 75.28 kB / 0.6134 GB, free: 14.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4219, allocations: 4 kB / 0.6134 GB, free: 14.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0129/0.4348, allocations: 3.784 MB / 0.6171 GB, free: 10.3 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.02167/0.4565, allocations: 1.554 MB / 0.6186 GB, free: 8.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.4567, allocations: 114.8 kB / 0.6187 GB, free: 8.594 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4567, allocations: 3.938 kB / 0.6187 GB, free: 8.59 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.375e-05/0.4568, allocations: 81.11 kB / 0.6188 GB, free: 8.492 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.4569, allocations: 10.28 kB / 0.6188 GB, free: 8.484 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008083/0.465, allocations: 374.6 kB / 0.6192 GB, free: 8.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.434e-05/0.4651, allocations: 51.36 kB / 0.6192 GB, free: 8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.653e-06/0.4651, allocations: 7.938 kB / 0.6192 GB, free: 7.992 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.4651, allocations: 7.438 kB / 0.6192 GB, free: 7.984 MB / 462.1 MB Notification: Performance of SimCode: time 1.372e-06/0.4651, allocations: 0 / 0.6192 GB, free: 7.984 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1864/0.6515, allocations: 114 MB / 0.7306 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.73/19.38, allocations: 4.062 kB / 0.7306 GB, free: 5.867 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.5763797579566] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 19.57648239599075 19.839754969 19.425911317 Calling exit ...