Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 118.1 kB / 17.13 MB, free: 5.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002125/0.002125, allocations: 191.7 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 207.6 MB / 230.5 MB, free: 3.992 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3257/0.3257, allocations: 44.23 MB / 326.5 MB, free: 6.859 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 75.89 kB / 462.2 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2696, allocations: 61 MB / 0.5109 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001565/0.2712, allocations: 0.4993 MB / 0.5114 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.273, allocations: 1.553 MB / 0.5129 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.2731, allocations: 0 / 0.5129 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.203e-05/0.2731, allocations: 0 / 0.5129 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.012e-06/0.2731, allocations: 1.156 kB / 0.5129 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008117/0.2739, allocations: 226.2 kB / 0.5131 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.032e-05/0.274, allocations: 2.312 kB / 0.5131 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.505e-05/0.274, allocations: 2.125 kB / 0.5131 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.261e-05/0.274, allocations: 0 / 0.5131 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.456e-05/0.274, allocations: 7.922 kB / 0.5131 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.1e-06/0.274, allocations: 0 / 0.5131 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007855/0.2748, allocations: 0.741 MB / 0.5138 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-06/0.2748, allocations: 3.984 kB / 0.5139 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.2748, allocations: 1.719 kB / 0.5139 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005687/0.2754, allocations: 0.6497 MB / 0.5145 GB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2754, allocations: 1.375 kB / 0.5145 GB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2754, allocations: 0 / 0.5145 GB, free: 10.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.2754, allocations: 0 / 0.5145 GB, free: 10.83 MB / 382.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.0004154/0.2758, allocations: 366.8 kB / 0.5148 GB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.2759, allocations: 13.48 kB / 0.5149 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.185e-05/0.2759, allocations: 34.75 kB / 0.5149 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.2759, allocations: 2.312 kB / 0.5149 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.253e-05/0.276, allocations: 160.4 kB / 0.515 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.276, allocations: 384 / 0.515 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.276, allocations: 9.734 kB / 0.515 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.426e-05/0.2761, allocations: 36.52 kB / 0.5151 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.2761, allocations: 0 / 0.5151 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.2761, allocations: 0 / 0.5151 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2761, allocations: 1.375 kB / 0.5151 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.813e-05/0.2761, allocations: 5.359 kB / 0.5151 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.626e-05/0.2762, allocations: 145.7 kB / 0.5152 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.9e-05/0.2763, allocations: 25.31 kB / 0.5153 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.268e-05/0.2763, allocations: 6.234 kB / 0.5153 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.2763, allocations: 0 / 0.5153 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.2763, allocations: 61.58 kB / 0.5153 GB, free: 9.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.2763, allocations: 3.938 kB / 0.5153 GB, free: 9.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001547/0.2765, allocations: 62.28 kB / 0.5154 GB, free: 9.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.2765, allocations: 82.47 kB / 0.5155 GB, free: 9.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.28e-05/0.2765, allocations: 89.98 kB / 0.5155 GB, free: 9.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.303e-06/0.2765, allocations: 33.64 kB / 0.5156 GB, free: 9.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.859e-06/0.2765, allocations: 81.52 kB / 0.5157 GB, free: 9.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.2766, allocations: 0 / 0.5157 GB, free: 9.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.2766, allocations: 12.47 kB / 0.5157 GB, free: 9.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.2766, allocations: 314.8 kB / 0.516 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-06/0.2766, allocations: 1.375 kB / 0.516 GB, free: 9.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-06/0.2766, allocations: 1.375 kB / 0.516 GB, free: 9.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.901e-05/0.2767, allocations: 67.02 kB / 0.516 GB, free: 9.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2767, allocations: 0 / 0.516 GB, free: 9.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.006e-05/0.2767, allocations: 62.27 kB / 0.5161 GB, free: 8.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.2768, allocations: 35.14 kB / 0.5161 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2768, allocations: 1.375 kB / 0.5161 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.2768, allocations: 3.938 kB / 0.5161 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.2768, allocations: 0 / 0.5161 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.2768, allocations: 0 / 0.5161 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.461e-05/0.2768, allocations: 1.375 kB / 0.5161 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.2768, allocations: 1.375 kB / 0.5161 GB, free: 8.93 MB / 382.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 4.594e-05/0.2768, allocations: 144.9 kB / 0.5163 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.2768, allocations: 5.312 kB / 0.5163 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.506e-06/0.2769, allocations: 3.125 kB / 0.5163 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2769, allocations: 1.375 kB / 0.5163 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2769, allocations: 0 / 0.5163 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.2769, allocations: 0 / 0.5163 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.625e-05/0.2769, allocations: 147 kB / 0.5164 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2769, allocations: 1.375 kB / 0.5164 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.2769, allocations: 0 / 0.5164 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2769, allocations: 11.88 kB / 0.5164 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.2769, allocations: 1.375 kB / 0.5164 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.2769, allocations: 4 kB / 0.5164 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.2769, allocations: 0 / 0.5164 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.048e-05/0.277, allocations: 89.83 kB / 0.5165 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.277, allocations: 82.42 kB / 0.5166 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.277, allocations: 0 / 0.5166 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.277e-06/0.277, allocations: 1.375 kB / 0.5166 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.277, allocations: 4.031 kB / 0.5166 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-06/0.277, allocations: 1.375 kB / 0.5166 GB, free: 8.352 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.075e-05/0.277, allocations: 79.22 kB / 0.5167 GB, free: 8.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.277, allocations: 0 / 0.5167 GB, free: 8.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004501/0.2775, allocations: 124.9 kB / 0.5168 GB, free: 8.258 MB / 382.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.0007734/0.2783, allocations: 0.7205 MB / 0.5175 GB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.111e-05/0.2783, allocations: 56.06 kB / 0.5176 GB, free: 7.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2783, allocations: 9.406 kB / 0.5176 GB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.792e-05/0.2784, allocations: 58.55 kB / 0.5176 GB, free: 7.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.2785, allocations: 1.375 kB / 0.5176 GB, free: 7.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.2788, allocations: 134.5 kB / 0.5178 GB, free: 7.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.309e-05/0.2789, allocations: 0.6702 MB / 0.5184 GB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.94e-06/0.2789, allocations: 0 / 0.5184 GB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.277e-06/0.2789, allocations: 8.75 kB / 0.5184 GB, free: 6.574 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2789, allocations: 0 / 0.5184 GB, free: 6.574 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.3022, allocations: 4.732 MB / 0.523 GB, free: 2.051 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/8.387, allocations: 8.672 kB / 0.523 GB, free: 2.043 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.138829383067787] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.456328104250133 8.470957089 8.192655464 Calling exit ...