Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001295, allocations: 122.1 kB / 18.46 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 207.3 kB / 21.4 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 251.7 MB, free: 92 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2362/0.2362, allocations: 46.15 MB / 351.1 MB, free: 14.34 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 82.56 kB / 489.6 MB, free: 28.28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1279, allocations: 62.44 MB / 0.5391 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001827/0.1298, allocations: 0.4949 MB / 0.5396 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.1322, allocations: 1.408 MB / 0.541 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.1322, allocations: 0 / 0.541 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.1322, allocations: 0 / 0.541 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.829e-05/0.1323, allocations: 0 / 0.541 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008168/0.1331, allocations: 226.9 kB / 0.5412 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.024e-05/0.1332, allocations: 4 kB / 0.5412 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.244e-05/0.1332, allocations: 11.98 kB / 0.5412 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.483e-05/0.1333, allocations: 3.984 kB / 0.5412 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.618e-05/0.1333, allocations: 8 kB / 0.5412 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1334, allocations: 0 / 0.5412 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005002/0.1339, allocations: 283.6 kB / 0.5415 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.1339, allocations: 0 / 0.5415 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.1339, allocations: 7.875 kB / 0.5415 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.1342, allocations: 147.9 kB / 0.5417 GB, free: 2.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.1342, allocations: 0 / 0.5417 GB, free: 2.238 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1342, allocations: 0 / 0.5417 GB, free: 2.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1342, allocations: 4 kB / 0.5417 GB, free: 2.234 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.0004895/0.1347, allocations: 339.3 kB / 0.542 GB, free: 1.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.1348, allocations: 12.03 kB / 0.542 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.577e-05/0.1348, allocations: 34.75 kB / 0.542 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.1349, allocations: 0.9375 kB / 0.542 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.135, allocations: 164.4 kB / 0.5422 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.135, allocations: 384 / 0.5422 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.1351, allocations: 4.359 kB / 0.5422 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.1352, allocations: 37.83 kB / 0.5422 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1352, allocations: 0 / 0.5422 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1352, allocations: 3.938 kB / 0.5422 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1352, allocations: 4 kB / 0.5422 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.256e-05/0.1352, allocations: 3.938 kB / 0.5422 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.1354, allocations: 153.7 kB / 0.5424 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.794e-05/0.1355, allocations: 14.58 kB / 0.5424 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.1355, allocations: 8.922 kB / 0.5424 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.1355, allocations: 4 kB / 0.5424 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.1356, allocations: 34.5 kB / 0.5424 GB, free: 1.262 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.1356, allocations: 0 / 0.5424 GB, free: 1.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001489/0.1358, allocations: 45.62 kB / 0.5425 GB, free: 1.211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.1358, allocations: 51.41 kB / 0.5425 GB, free: 1.148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.985e-05/0.1359, allocations: 89.86 kB / 0.5426 GB, free: 1.051 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1359, allocations: 33.89 kB / 0.5427 GB, free: 1.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.136, allocations: 84.14 kB / 0.5427 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.136, allocations: 3.953 kB / 0.5427 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.136, allocations: 17.7 kB / 0.5428 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1362, allocations: 314.8 kB / 0.5431 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.1362, allocations: 0 / 0.5431 GB, free: 0.582 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.006e-05/0.1362, allocations: 4 kB / 0.5431 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.673e-05/0.1363, allocations: 8.859 kB / 0.5431 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1363, allocations: 4.062 kB / 0.5431 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.389e-05/0.1363, allocations: 41.58 kB / 0.5431 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1364, allocations: 7.984 kB / 0.5431 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1364, allocations: 0 / 0.5431 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1364, allocations: 0 / 0.5431 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.811e-05/0.1365, allocations: 4 kB / 0.5431 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.1365, allocations: 0 / 0.5431 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.636e-05/0.1365, allocations: 4 kB / 0.5431 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.1365, allocations: 0 / 0.5431 GB, free: 0.5 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0001038/0.1366, allocations: 113.9 kB / 0.5432 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.1366, allocations: 3.938 kB / 0.5432 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.1368, allocations: 48.75 kB / 0.5433 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1368, allocations: 0 / 0.5433 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.1368, allocations: 0 / 0.5433 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1368, allocations: 0 / 0.5433 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.137, allocations: 149.7 kB / 0.5434 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.137, allocations: 7.969 kB / 0.5434 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-06/0.137, allocations: 3.938 kB / 0.5434 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.137, allocations: 4 kB / 0.5434 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.137, allocations: 0 / 0.5434 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.137, allocations: 0 / 0.5434 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.137, allocations: 0 / 0.5434 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.271e-05/0.1371, allocations: 61.12 kB / 0.5435 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.289e-05/0.1372, allocations: 81.05 kB / 0.5436 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.1372, allocations: 4.031 kB / 0.5436 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.919e-05/0.1373, allocations: 4 kB / 0.5436 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.1373, allocations: 0 / 0.5436 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1373, allocations: 0 / 0.5436 GB, free: 15.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.156e-05/0.1374, allocations: 87.2 kB / 0.5437 GB, free: 15.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1374, allocations: 0 / 0.5437 GB, free: 15.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.1376, allocations: 39.94 kB / 0.5437 GB, free: 15.8 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: 0 () * Number of discrete states: 0 () * 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: 0 * Record equations: 1 * 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.0006359/0.1383, allocations: 0.6359 MB / 0.5443 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.635e-05/0.1384, allocations: 11.94 kB / 0.5443 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1384, allocations: 0 / 0.5443 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.635e-05/0.1384, allocations: 29.64 kB / 0.5444 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.1386, allocations: 7.984 kB / 0.5444 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.139, allocations: 122.8 kB / 0.5445 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.1394, allocations: 0.6729 MB / 0.5452 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.62e-05/0.1394, allocations: 4 kB / 0.5452 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.1394, allocations: 7.438 kB / 0.5452 GB, free: 14.21 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1394, allocations: 0 / 0.5452 GB, free: 14.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.1629, allocations: 1.883 MB / 0.547 GB, free: 12.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/7.864, allocations: 13.08 kB / 0.547 GB, free: 12.41 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.8072260748595] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 7.928320728009567 7.941787858 7.805065729 Calling exit ...