Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.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.00158/0.00158, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.001682/0.001682, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.523/1.523, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2467/0.2467, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.TestMatrices,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.89 kB / 0.4909 GB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1383, allocations: 65.99 MB / 0.5554 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.002006/0.1403, allocations: 0.4892 MB / 0.5558 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002459/0.1427, allocations: 1.618 MB / 0.5574 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.939e-05/0.1427, allocations: 4 kB / 0.5574 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.1428, allocations: 0 / 0.5574 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.1428, allocations: 3.938 kB / 0.5574 GB, free: 3.742 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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.001155/0.1439, allocations: 271.3 kB / 0.5577 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.406e-05/0.144, allocations: 4 kB / 0.5577 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.144, allocations: 0 / 0.5577 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.703e-05/0.144, allocations: 0 / 0.5577 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.429e-05/0.1441, allocations: 3.984 kB / 0.5577 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.452e-06/0.1441, allocations: 0 / 0.5577 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008759/0.1449, allocations: 0.5418 MB / 0.5582 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.718e-06/0.145, allocations: 0 / 0.5582 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.145, allocations: 3.938 kB / 0.5582 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000547/0.1455, allocations: 315.3 kB / 0.5585 GB, free: 2.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1455, allocations: 0 / 0.5585 GB, free: 2.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1455, allocations: 0 / 0.5585 GB, free: 2.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1455, allocations: 0 / 0.5585 GB, free: 2.613 MB / 414.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.0004741/0.146, allocations: 372.8 kB / 0.5589 GB, free: 2.195 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1461, allocations: 8.031 kB / 0.5589 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.121e-05/0.1461, allocations: 38.75 kB / 0.5589 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.1461, allocations: 0.9375 kB / 0.5589 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.1463, allocations: 160.4 kB / 0.5591 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1463, allocations: 8.359 kB / 0.5591 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-06/0.1463, allocations: 384 / 0.5591 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.1464, allocations: 37.77 kB / 0.5591 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1464, allocations: 4 kB / 0.5591 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.1464, allocations: 0 / 0.5591 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1464, allocations: 0 / 0.5591 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.087e-05/0.1464, allocations: 0 / 0.5591 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.1466, allocations: 145.7 kB / 0.5593 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.842e-05/0.1467, allocations: 26.59 kB / 0.5593 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.778e-05/0.1467, allocations: 8.797 kB / 0.5593 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.1467, allocations: 3.938 kB / 0.5593 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/0.1467, allocations: 68.2 kB / 0.5594 GB, free: 1.566 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.1467, allocations: 0 / 0.5594 GB, free: 1.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001961/0.1469, allocations: 63.41 kB / 0.5594 GB, free: 1.492 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.147, allocations: 81.09 kB / 0.5595 GB, free: 1.395 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.141e-05/0.1471, allocations: 97.81 kB / 0.5596 GB, free: 1.289 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1471, allocations: 25.7 kB / 0.5596 GB, free: 1.258 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.1471, allocations: 84.12 kB / 0.5597 GB, free: 1.172 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.1471, allocations: 0 / 0.5597 GB, free: 1.172 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.1472, allocations: 13.72 kB / 0.5597 GB, free: 1.152 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1473, allocations: 310.8 kB / 0.56 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.1473, allocations: 4.125 kB / 0.56 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-06/0.1473, allocations: 3.938 kB / 0.56 GB, free: 0.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.871e-05/0.1474, allocations: 64.27 kB / 0.5601 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1474, allocations: 0 / 0.5601 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.549e-05/0.1475, allocations: 63.39 kB / 0.5601 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.1475, allocations: 35.52 kB / 0.5602 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1475, allocations: 4 kB / 0.5602 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1475, allocations: 0 / 0.5602 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.1475, allocations: 0 / 0.5602 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1475, allocations: 4.094 kB / 0.5602 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.1476, allocations: 0 / 0.5602 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.1476, allocations: 0 / 0.5602 GB, free: 0.6328 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 9.586e-05/0.1477, allocations: 141.7 kB / 0.5603 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.1477, allocations: 7.875 kB / 0.5603 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.066e-05/0.1477, allocations: 7.125 kB / 0.5603 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1477, allocations: 3.984 kB / 0.5603 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1477, allocations: 0 / 0.5603 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1477, allocations: 0 / 0.5603 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.1478, allocations: 153.7 kB / 0.5605 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1478, allocations: 4 kB / 0.5605 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-07/0.1478, allocations: 0 / 0.5605 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1478, allocations: 3.938 kB / 0.5605 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.1478, allocations: 0 / 0.5605 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1478, allocations: 4 kB / 0.5605 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1478, allocations: 0 / 0.5605 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.1479, allocations: 90.77 kB / 0.5606 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.148, allocations: 85.08 kB / 0.5607 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.148, allocations: 4 kB / 0.5607 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-06/0.148, allocations: 0 / 0.5607 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-06/0.148, allocations: 0 / 0.5607 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.148, allocations: 0 / 0.5607 GB, free: 36 kB / 414.1 MB Notification: Performance of sorting global known variables: time 5.491e-05/0.1481, allocations: 75.28 kB / 0.5607 GB, free: 15.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1481, allocations: 7.875 kB / 0.5607 GB, free: 15.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003352/0.1484, allocations: 63.8 kB / 0.5608 GB, free: 15.89 MB / 430.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.0008103/0.1492, allocations: 0.7182 MB / 0.5615 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.915e-05/0.1493, allocations: 55.41 kB / 0.5616 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1493, allocations: 0 / 0.5616 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.089e-05/0.1494, allocations: 67.33 kB / 0.5616 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.1495, allocations: 2.031 kB / 0.5616 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.1498, allocations: 134.6 kB / 0.5618 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.1501, allocations: 0.669 MB / 0.5624 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.63e-06/0.1501, allocations: 0 / 0.5624 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.536e-05/0.1501, allocations: 7.438 kB / 0.5624 GB, free: 14.12 MB / 430.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1502, allocations: 0 / 0.5624 GB, free: 14.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.1743, allocations: 2.115 MB / 0.5645 GB, free: 12.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.182, allocations: 0 / 0.5645 GB, free: 12.07 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.116852500010282] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.249911316903308 8.265651741 8.11715279 Calling exit ...