Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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.001908/0.001908, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002221/0.002221, allocations: 214.8 kB / 23.78 MB, free: 4.523 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.524/1.524, allocations: 207.7 MB / 234.6 MB, free: 9.781 MB / 190.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.2484/0.2484, allocations: 44.27 MB / 331.1 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 179] 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.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.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 71.91 kB / 468.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1255, allocations: 61.04 MB / 0.5169 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001845/0.1274, allocations: 0.5103 MB / 0.5174 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003518/0.1309, allocations: 2.049 MB / 0.5194 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.1309, allocations: 0 / 0.5194 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.1309, allocations: 0 / 0.5194 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.712e-06/0.1309, allocations: 4 kB / 0.5194 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.1335, allocations: 0.7561 MB / 0.5201 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.455e-05/0.1336, allocations: 4 kB / 0.5201 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.1336, allocations: 3.984 kB / 0.5201 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.952e-05/0.1336, allocations: 3.938 kB / 0.5202 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.293e-05/0.1337, allocations: 4 kB / 0.5202 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-06/0.1337, allocations: 0 / 0.5202 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002601/0.1363, allocations: 1.568 MB / 0.5217 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.1363, allocations: 3.938 kB / 0.5217 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.1363, allocations: 0 / 0.5217 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.1386, allocations: 1.552 MB / 0.5232 GB, free: 0.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1386, allocations: 0 / 0.5232 GB, free: 0.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1386, allocations: 0 / 0.5232 GB, free: 0.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1386, allocations: 0 / 0.5232 GB, free: 0.707 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.0007986/0.1394, allocations: 343.3 kB / 0.5235 GB, free: 344 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1395, allocations: 12.03 kB / 0.5235 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.104e-05/0.1395, allocations: 4.188 kB / 0.5236 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.94e-05/0.1395, allocations: 34.75 kB / 0.5236 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.443e-05/0.1396, allocations: 0.9375 kB / 0.5236 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.383e-05/0.1396, allocations: 102.5 kB / 0.5237 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1397, allocations: 8.125 kB / 0.5237 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.1397, allocations: 3.938 kB / 0.5237 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.1398, allocations: 59.39 kB / 0.5238 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1398, allocations: 0 / 0.5238 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.1398, allocations: 0 / 0.5238 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1398, allocations: 0 / 0.5238 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.405e-05/0.1398, allocations: 33.69 kB / 0.5238 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.14, allocations: 120.8 kB / 0.5239 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.416e-05/0.14, allocations: 44.22 kB / 0.5239 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.1401, allocations: 42.58 kB / 0.524 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.1401, allocations: 0 / 0.524 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/0.1401, allocations: 56.27 kB / 0.524 GB, free: 15.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1401, allocations: 0 / 0.524 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002165/0.1404, allocations: 118.8 kB / 0.5241 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.1404, allocations: 81.11 kB / 0.5242 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.024e-05/0.1405, allocations: 89.86 kB / 0.5243 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1405, allocations: 33.77 kB / 0.5243 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.1405, allocations: 80.14 kB / 0.5244 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.1405, allocations: 0 / 0.5244 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.1406, allocations: 17.72 kB / 0.5244 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1407, allocations: 310.8 kB / 0.5247 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/0.1407, allocations: 29.64 kB / 0.5248 GB, free: 14.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.149e-05/0.1408, allocations: 29.7 kB / 0.5248 GB, free: 14.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.901e-05/0.1408, allocations: 64.25 kB / 0.5249 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1408, allocations: 0 / 0.5249 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.108e-05/0.1409, allocations: 93.11 kB / 0.5249 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.1409, allocations: 33.7 kB / 0.525 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1409, allocations: 0 / 0.525 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.141, allocations: 3.984 kB / 0.525 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.141, allocations: 0 / 0.525 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.141, allocations: 3.938 kB / 0.525 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.394e-05/0.141, allocations: 0 / 0.525 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.141, allocations: 4 kB / 0.525 GB, free: 14.59 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.0001015/0.1411, allocations: 139.4 kB / 0.5251 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.1411, allocations: 4 kB / 0.5251 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.926e-06/0.1411, allocations: 7.031 kB / 0.5251 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1411, allocations: 0 / 0.5251 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1411, allocations: 0 / 0.5251 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1411, allocations: 0 / 0.5251 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.1412, allocations: 128.7 kB / 0.5252 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1412, allocations: 4 kB / 0.5253 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1412, allocations: 0 / 0.5253 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1412, allocations: 0 / 0.5253 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.1412, allocations: 0 / 0.5253 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1412, allocations: 0 / 0.5253 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1412, allocations: 0 / 0.5253 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.1413, allocations: 124.5 kB / 0.5254 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-06/0.1414, allocations: 0 / 0.5254 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.1414, allocations: 4 kB / 0.5254 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-06/0.1414, allocations: 0 / 0.5254 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.1414, allocations: 0 / 0.5254 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.1414, allocations: 0 / 0.5254 GB, free: 14.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.533e-05/0.1414, allocations: 83.16 kB / 0.5255 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1414, allocations: 4 kB / 0.5255 GB, free: 14.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001061/0.1425, allocations: 275.6 kB / 0.5257 GB, free: 13.75 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.002264/0.1447, allocations: 0.9609 MB / 0.5267 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.1449, allocations: 114.8 kB / 0.5268 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1449, allocations: 0 / 0.5268 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.985e-05/0.1449, allocations: 93.03 kB / 0.5269 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.1451, allocations: 0 / 0.5269 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007044/0.1458, allocations: 199.8 kB / 0.527 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.344e-05/0.1458, allocations: 55.36 kB / 0.5271 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.971e-06/0.1458, allocations: 0 / 0.5271 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.1459, allocations: 7.438 kB / 0.5271 GB, free: 12.18 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1459, allocations: 4 kB / 0.5271 GB, free: 12.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04931/0.1952, allocations: 8.403 MB / 0.5353 GB, free: 3.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/11.88, allocations: 19.42 kB / 0.5353 GB, free: 3.746 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.235796484048478] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 12.042378857033327 12.310160159 12.168383212 Calling exit ...