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.001244/0.001244, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001394/0.001394, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.423/1.423, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.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.222/0.222, allocations: 46.89 MB / 357.4 MB, free: 10.52 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.002262/0.002262, allocations: 81.92 kB / 0.4912 GB, free: 26.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1173, allocations: 65.98 MB / 0.5556 GB, free: 9.164 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001647/0.119, allocations: 0.4908 MB / 0.5561 GB, free: 8.668 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.1209, allocations: 1.418 MB / 0.5575 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.1209, allocations: 0 / 0.5575 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.121, allocations: 0 / 0.5575 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.554e-05/0.121, allocations: 0 / 0.5575 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007011/0.1217, allocations: 219.7 kB / 0.5577 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.858e-05/0.1217, allocations: 11.98 kB / 0.5577 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.1218, allocations: 4 kB / 0.5577 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.728e-05/0.1218, allocations: 0 / 0.5577 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.623e-05/0.1219, allocations: 15.97 kB / 0.5577 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1219, allocations: 0 / 0.5577 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004556/0.1223, allocations: 287.6 kB / 0.558 GB, free: 6.707 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.1223, allocations: 3.938 kB / 0.558 GB, free: 6.703 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.864e-05/0.1224, allocations: 0 / 0.558 GB, free: 6.703 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.1226, allocations: 151.9 kB / 0.5582 GB, free: 6.555 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1226, allocations: 0 / 0.5582 GB, free: 6.555 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1226, allocations: 0 / 0.5582 GB, free: 6.555 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.1226, allocations: 0 / 0.5582 GB, free: 6.555 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.0004377/0.1231, allocations: 343.3 kB / 0.5585 GB, free: 6.172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1231, allocations: 12.03 kB / 0.5585 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/0.1231, allocations: 30.75 kB / 0.5585 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.1232, allocations: 0.9375 kB / 0.5585 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.1233, allocations: 160.4 kB / 0.5587 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1233, allocations: 4.375 kB / 0.5587 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.1233, allocations: 8.312 kB / 0.5587 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.1234, allocations: 41.75 kB / 0.5587 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1235, allocations: 3.938 kB / 0.5587 GB, free: 5.863 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1235, allocations: 4 kB / 0.5587 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1235, allocations: 4 kB / 0.5587 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.804e-05/0.1235, allocations: 0 / 0.5587 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.1237, allocations: 153.7 kB / 0.5589 GB, free: 5.656 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.317e-05/0.1237, allocations: 14.58 kB / 0.5589 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.1237, allocations: 8.922 kB / 0.5589 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.1237, allocations: 0 / 0.5589 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.1238, allocations: 38.5 kB / 0.5589 GB, free: 5.574 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1238, allocations: 0 / 0.5589 GB, free: 5.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001485/0.1239, allocations: 37.64 kB / 0.559 GB, free: 5.531 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.1239, allocations: 55.41 kB / 0.559 GB, free: 5.465 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.124, allocations: 93.84 kB / 0.5591 GB, free: 5.363 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.124, allocations: 29.7 kB / 0.5592 GB, free: 5.328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.1241, allocations: 80.14 kB / 0.5592 GB, free: 5.246 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.1241, allocations: 4.203 kB / 0.5592 GB, free: 5.242 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.1241, allocations: 13.72 kB / 0.5592 GB, free: 5.223 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1243, allocations: 318.8 kB / 0.5596 GB, free: 4.902 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.1243, allocations: 0 / 0.5596 GB, free: 4.902 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.642e-06/0.1243, allocations: 0 / 0.5596 GB, free: 4.902 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.184e-05/0.1244, allocations: 16.78 kB / 0.5596 GB, free: 4.883 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1244, allocations: 0 / 0.5596 GB, free: 4.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.792e-05/0.1244, allocations: 37.64 kB / 0.5596 GB, free: 4.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1244, allocations: 8.094 kB / 0.5596 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1244, allocations: 0 / 0.5596 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1245, allocations: 0 / 0.5596 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.355e-05/0.1245, allocations: 4 kB / 0.5596 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1245, allocations: 0 / 0.5596 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.1245, allocations: 0 / 0.5596 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1246, allocations: 0 / 0.5596 GB, free: 4.828 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: 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 9.722e-05/0.1246, allocations: 117.8 kB / 0.5597 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.1247, allocations: 7.922 kB / 0.5597 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.1248, allocations: 44.77 kB / 0.5598 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1248, allocations: 0 / 0.5598 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1248, allocations: 0 / 0.5598 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1248, allocations: 7.922 kB / 0.5598 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.1249, allocations: 149.7 kB / 0.5599 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1249, allocations: 0 / 0.5599 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-06/0.1249, allocations: 3.938 kB / 0.5599 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1249, allocations: 32 / 0.5599 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1249, allocations: 11.94 kB / 0.5599 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1249, allocations: 7.984 kB / 0.56 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1249, allocations: 0 / 0.56 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.747e-05/0.125, allocations: 61.08 kB / 0.56 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.125, allocations: 81.05 kB / 0.5601 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.125, allocations: 0 / 0.5601 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.1251, allocations: 7.984 kB / 0.5601 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.1251, allocations: 4.031 kB / 0.5601 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1251, allocations: 0 / 0.5601 GB, free: 4.234 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.816e-05/0.1252, allocations: 79.28 kB / 0.5602 GB, free: 4.156 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1252, allocations: 0 / 0.5602 GB, free: 4.156 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.1254, allocations: 39.94 kB / 0.5602 GB, free: 4.117 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.0005395/0.126, allocations: 0.6398 MB / 0.5608 GB, free: 3.445 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.144e-05/0.126, allocations: 11.94 kB / 0.5608 GB, free: 3.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.126, allocations: 0 / 0.5608 GB, free: 3.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.415e-05/0.1261, allocations: 25.7 kB / 0.5609 GB, free: 3.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.1262, allocations: 4 kB / 0.5609 GB, free: 3.398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.1266, allocations: 122.6 kB / 0.561 GB, free: 3.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1269, allocations: 0.673 MB / 0.5617 GB, free: 2.539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.62e-05/0.1269, allocations: 7.984 kB / 0.5617 GB, free: 2.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.1269, allocations: 7.438 kB / 0.5617 GB, free: 2.523 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1269, allocations: 0 / 0.5617 GB, free: 2.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.1492, allocations: 1.881 MB / 0.5635 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.806/7.955, allocations: 5.969 kB / 0.5635 GB, free: 0.7344 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.718943837098777] Failed to read output from testmodel.py, exit status != 0: ['time', 'x'] 8.022332966793329 8.041917895 7.915610354 Calling exit ...