Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001873/0.001874, allocations: 117.1 kB / 19.13 MB, free: 3.965 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.002431/0.002431, allocations: 210.5 kB / 22.08 MB, free: 1.012 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.642/1.642, allocations: 227.4 MB / 252.3 MB, free: 100 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2376/0.2376, allocations: 46.17 MB / 351.8 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 76.5 kB / 490.8 MB, free: 28.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.129, allocations: 62.44 MB / 0.5403 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001705/0.1308, allocations: 0.4947 MB / 0.5408 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.1327, allocations: 1.416 MB / 0.5422 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.1328, allocations: 4 kB / 0.5422 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.1328, allocations: 0 / 0.5422 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.573e-05/0.1329, allocations: 3.938 kB / 0.5422 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000691/0.1336, allocations: 218.7 kB / 0.5424 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.307e-05/0.1336, allocations: 11.97 kB / 0.5424 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.1337, allocations: 0 / 0.5424 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.805e-05/0.1337, allocations: 4 kB / 0.5424 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.716e-05/0.1338, allocations: 8 kB / 0.5424 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.1338, allocations: 0 / 0.5424 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004898/0.1343, allocations: 291.5 kB / 0.5427 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.1343, allocations: 0 / 0.5427 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.1343, allocations: 3.938 kB / 0.5427 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.1346, allocations: 147.6 kB / 0.5428 GB, free: 1.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1346, allocations: 0 / 0.5428 GB, free: 1.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.1346, allocations: 3.984 kB / 0.5428 GB, free: 1.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1346, allocations: 0 / 0.5428 GB, free: 1.676 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.0004205/0.135, allocations: 346.2 kB / 0.5432 GB, free: 1.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1351, allocations: 8.031 kB / 0.5432 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.1351, allocations: 4.938 kB / 0.5432 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.1353, allocations: 164.4 kB / 0.5433 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1353, allocations: 384 / 0.5433 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.1353, allocations: 384 / 0.5433 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.976e-05/0.1354, allocations: 37.95 kB / 0.5434 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1354, allocations: 0 / 0.5434 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1354, allocations: 3.984 kB / 0.5434 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1355, allocations: 0 / 0.5434 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.265e-05/0.1355, allocations: 4 kB / 0.5434 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.1356, allocations: 153.6 kB / 0.5435 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.008e-05/0.1357, allocations: 22.59 kB / 0.5436 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.1357, allocations: 4.859 kB / 0.5436 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.1357, allocations: 3.984 kB / 0.5436 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.1358, allocations: 42.5 kB / 0.5436 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1358, allocations: 3.938 kB / 0.5436 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001329/0.1359, allocations: 33.7 kB / 0.5436 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.136, allocations: 55.53 kB / 0.5437 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.271e-05/0.1361, allocations: 93.86 kB / 0.5438 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1361, allocations: 25.7 kB / 0.5438 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.1361, allocations: 84.12 kB / 0.5439 GB, free: 420 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.1362, allocations: 7.953 kB / 0.5439 GB, free: 412 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.1362, allocations: 13.72 kB / 0.5439 GB, free: 392 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1363, allocations: 310.8 kB / 0.5442 GB, free: 72 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.1364, allocations: 4.125 kB / 0.5442 GB, free: 68 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.288e-06/0.1364, allocations: 7.938 kB / 0.5442 GB, free: 60 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.541e-05/0.1364, allocations: 8.859 kB / 0.5442 GB, free: 48 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1364, allocations: 0 / 0.5442 GB, free: 48 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.95e-05/0.1365, allocations: 37.69 kB / 0.5443 GB, free: 4 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.1365, allocations: 7.984 kB / 0.5443 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1365, allocations: 0 / 0.5443 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1365, allocations: 0 / 0.5443 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.1366, allocations: 4 kB / 0.5443 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1366, allocations: 4.094 kB / 0.5443 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.1366, allocations: 4 kB / 0.5443 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.1366, allocations: 0 / 0.5443 GB, free: 15.98 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 7.859e-05/0.1367, allocations: 105.8 kB / 0.5444 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.1367, allocations: 7.938 kB / 0.5444 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.1369, allocations: 52.7 kB / 0.5444 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1369, allocations: 0 / 0.5444 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1369, allocations: 0 / 0.5444 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1369, allocations: 0 / 0.5444 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.137, allocations: 153.7 kB / 0.5446 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.137, allocations: 0 / 0.5446 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.137, allocations: 0 / 0.5446 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.137, allocations: 3.938 kB / 0.5446 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.137, allocations: 3.938 kB / 0.5446 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1371, allocations: 0 / 0.5446 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1371, allocations: 4 kB / 0.5446 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.472e-05/0.1371, allocations: 69.09 kB / 0.5447 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/0.1372, allocations: 81.05 kB / 0.5447 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.1372, allocations: 0 / 0.5447 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.1373, allocations: 0 / 0.5447 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.1373, allocations: 4 kB / 0.5447 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.1373, allocations: 3.984 kB / 0.5447 GB, free: 15.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.634e-05/0.1374, allocations: 79.31 kB / 0.5448 GB, free: 15.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1374, allocations: 0 / 0.5448 GB, free: 15.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.1376, allocations: 43.88 kB / 0.5449 GB, free: 15.29 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.000308/0.1379, allocations: 143.1 kB / 0.545 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.354e-05/0.138, allocations: 4 kB / 0.545 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.138, allocations: 0 / 0.545 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.699e-05/0.1381, allocations: 33.64 kB / 0.545 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.0001366/0.1382, allocations: 0 / 0.545 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002322/0.1384, allocations: 115 kB / 0.5451 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.1388, allocations: 0.669 MB / 0.5458 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.447e-05/0.1389, allocations: 7.438 kB / 0.5458 GB, free: 14.24 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1389, allocations: 4 kB / 0.5458 GB, free: 14.24 MB / 414.1 MB Notification: Performance of Templates: time 0.002779/0.1417, allocations: 0.913 MB / 0.5467 GB, free: 13.32 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.39804132503923]