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.001729/0.001729, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00146/0.00146, allocations: 216.4 kB / 22.99 MB, free: 4.977 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.496/1.496, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2265/0.2265, allocations: 44.27 MB / 330.4 MB, free: 9.293 MB / 270.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.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",fmuType="me",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.002383/0.002383, allocations: 75.89 kB / 467.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1262, allocations: 61.04 MB / 0.5161 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001607/0.1278, allocations: 0.4988 MB / 0.5166 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003219/0.131, allocations: 2.065 MB / 0.5186 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.036e-05/0.131, allocations: 4 kB / 0.5186 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.131, allocations: 0 / 0.5186 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.1311, allocations: 0 / 0.5186 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.1333, allocations: 0.756 MB / 0.5194 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.399e-05/0.1333, allocations: 7.984 kB / 0.5194 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.1334, allocations: 0 / 0.5194 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.338e-05/0.1334, allocations: 0 / 0.5194 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.68e-05/0.1334, allocations: 0 / 0.5194 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.239e-06/0.1334, allocations: 0 / 0.5194 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.1356, allocations: 1.545 MB / 0.5209 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.175e-06/0.1356, allocations: 3.938 kB / 0.5209 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.1356, allocations: 4 kB / 0.5209 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.1374, allocations: 1.548 MB / 0.5224 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1374, allocations: 0 / 0.5224 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1374, allocations: 0 / 0.5224 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1374, allocations: 0 / 0.5224 GB, free: 0.7266 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.0007203/0.1381, allocations: 351.3 kB / 0.5228 GB, free: 356 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.1382, allocations: 8.031 kB / 0.5228 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.376e-05/0.1382, allocations: 34.75 kB / 0.5228 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.1383, allocations: 0.9375 kB / 0.5228 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.187e-05/0.1383, allocations: 106.5 kB / 0.5229 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1384, allocations: 384 / 0.5229 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.1384, allocations: 7.938 kB / 0.5229 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1385, allocations: 55.39 kB / 0.523 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.1385, allocations: 3.938 kB / 0.523 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.1385, allocations: 0 / 0.523 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.1385, allocations: 4 kB / 0.523 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.586e-05/0.1386, allocations: 33.7 kB / 0.523 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/0.1387, allocations: 112.8 kB / 0.5231 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.662e-05/0.1388, allocations: 48.25 kB / 0.5231 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.682e-05/0.1389, allocations: 38.55 kB / 0.5232 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.1389, allocations: 4.062 kB / 0.5232 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.535e-05/0.1389, allocations: 56.27 kB / 0.5232 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.1389, allocations: 0 / 0.5232 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002312/0.1392, allocations: 122.7 kB / 0.5234 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.1392, allocations: 77.11 kB / 0.5234 GB, free: 15.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.372e-05/0.1393, allocations: 97.98 kB / 0.5235 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1393, allocations: 25.7 kB / 0.5236 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.1393, allocations: 84.14 kB / 0.5236 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.1393, allocations: 0 / 0.5236 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.1394, allocations: 9.719 kB / 0.5236 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1395, allocations: 314.8 kB / 0.5239 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.585e-05/0.1396, allocations: 25.7 kB / 0.524 GB, free: 14.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.122e-05/0.1396, allocations: 25.7 kB / 0.524 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.481e-05/0.1397, allocations: 72.19 kB / 0.5241 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1397, allocations: 4 kB / 0.5241 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.636e-05/0.1398, allocations: 93.05 kB / 0.5242 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.1398, allocations: 29.7 kB / 0.5242 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.1398, allocations: 7.984 kB / 0.5242 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1398, allocations: 0 / 0.5242 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.733e-06/0.1398, allocations: 0 / 0.5242 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1398, allocations: 0 / 0.5242 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.418e-05/0.1398, allocations: 0 / 0.5242 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1399, allocations: 0 / 0.5242 GB, free: 14.61 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.0001326/0.14, allocations: 139.5 kB / 0.5243 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.14, allocations: 7.969 kB / 0.5243 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.328e-05/0.14, allocations: 3 kB / 0.5243 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.14, allocations: 0 / 0.5243 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.14, allocations: 3.938 kB / 0.5243 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.14, allocations: 4 kB / 0.5243 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.1401, allocations: 124.7 kB / 0.5245 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1401, allocations: 0 / 0.5245 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.1401, allocations: 0 / 0.5245 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.1401, allocations: 0 / 0.5245 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1402, allocations: 7.938 kB / 0.5245 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1402, allocations: 0 / 0.5245 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1402, allocations: 4 kB / 0.5245 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.1403, allocations: 120.5 kB / 0.5246 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-06/0.1403, allocations: 0 / 0.5246 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.1403, allocations: 0 / 0.5246 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.127e-05/0.1403, allocations: 4 kB / 0.5246 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.1404, allocations: 4 kB / 0.5246 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.1404, allocations: 0 / 0.5246 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.858e-05/0.1404, allocations: 79.27 kB / 0.5247 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1404, allocations: 0 / 0.5247 GB, free: 14.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001293/0.1417, allocations: 271.6 kB / 0.5249 GB, free: 13.77 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.001931/0.1436, allocations: 0.9765 MB / 0.5259 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.1438, allocations: 110.8 kB / 0.526 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1438, allocations: 4 kB / 0.526 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.269e-05/0.1439, allocations: 81.09 kB / 0.5261 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.144, allocations: 7.938 kB / 0.5261 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005862/0.1446, allocations: 199.8 kB / 0.5263 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.086e-05/0.1446, allocations: 55.36 kB / 0.5263 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.851e-06/0.1446, allocations: 0 / 0.5263 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.1447, allocations: 11.44 kB / 0.5263 GB, free: 12.19 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1447, allocations: 4.125 kB / 0.5263 GB, free: 12.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03857/0.1832, allocations: 8.744 MB / 0.5349 GB, free: 3.426 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.53, allocations: 4.062 kB / 0.5349 GB, free: 3.422 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: 14.715537062846124] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.641202685888857 11.940411787 11.799991054 Calling exit ...