Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001557/0.001557, allocations: 117 kB / 18.46 MB, free: 4.613 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.001651/0.001651, allocations: 205.8 kB / 21.4 MB, free: 1.668 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.427/1.427, allocations: 227.4 MB / 251.6 MB, free: 84 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.225/0.225, allocations: 46.16 MB / 351.1 MB, free: 14.29 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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 85.31 kB / 490.2 MB, free: 28.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.123, allocations: 62.45 MB / 0.5397 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001908/0.125, allocations: 0.5217 MB / 0.5402 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004637/0.1255, allocations: 159.9 kB / 0.5403 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.1255, allocations: 0 / 0.5403 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.1255, allocations: 3.938 kB / 0.5403 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.1259, allocations: 43.77 kB / 0.5404 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.349e-06/0.1259, allocations: 0 / 0.5404 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.393e-05/0.126, allocations: 27.91 kB / 0.5404 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.425e-05/0.126, allocations: 0 / 0.5404 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.216e-05/0.1261, allocations: 7.938 kB / 0.5404 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/0.1261, allocations: 19.86 kB / 0.5404 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.1261, allocations: 0 / 0.5404 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.1263, allocations: 59.88 kB / 0.5405 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.1263, allocations: 4 kB / 0.5405 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.1263, allocations: 7.922 kB / 0.5405 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.1265, allocations: 43.83 kB / 0.5405 GB, free: 3.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1265, allocations: 3.938 kB / 0.5405 GB, free: 3.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1265, allocations: 0 / 0.5405 GB, free: 3.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.758e-06/0.1265, allocations: 0 / 0.5405 GB, free: 3.363 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003774/0.1269, allocations: 339.3 kB / 0.5409 GB, free: 2.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1269, allocations: 8.031 kB / 0.5409 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.127, allocations: 4.938 kB / 0.5409 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.1271, allocations: 176.2 kB / 0.541 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1271, allocations: 8.375 kB / 0.5411 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.1272, allocations: 384 / 0.5411 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.1273, allocations: 54.25 kB / 0.5411 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1273, allocations: 4.172 kB / 0.5411 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1273, allocations: 3.938 kB / 0.5411 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.1273, allocations: 4 kB / 0.5411 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.1275, allocations: 55.89 kB / 0.5412 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.1277, allocations: 173.6 kB / 0.5413 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.1279, allocations: 82.55 kB / 0.5414 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.715e-05/0.1279, allocations: 28.86 kB / 0.5414 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003912/0.1283, allocations: 255.3 kB / 0.5417 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.1284, allocations: 30.84 kB / 0.5417 GB, free: 1.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 3.577e-06/0.1284, allocations: 0 / 0.5417 GB, free: 1.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002659/0.1287, allocations: 109.8 kB / 0.5418 GB, free: 1.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.1287, allocations: 59.34 kB / 0.5419 GB, free: 1.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.1288, allocations: 89.86 kB / 0.542 GB, free: 1.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1288, allocations: 29.8 kB / 0.542 GB, free: 1.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.1289, allocations: 84.08 kB / 0.5421 GB, free: 1.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.1289, allocations: 35.69 kB / 0.5421 GB, free: 1.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.129, allocations: 25.7 kB / 0.5421 GB, free: 1.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1291, allocations: 319 kB / 0.5424 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.683e-05/0.1292, allocations: 19.98 kB / 0.5424 GB, free: 1.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.958e-05/0.1292, allocations: 12 kB / 0.5425 GB, free: 1.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.562e-05/0.1293, allocations: 60.78 kB / 0.5425 GB, free: 1.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.1293, allocations: 0 / 0.5425 GB, free: 1.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001366/0.1295, allocations: 89.58 kB / 0.5426 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1295, allocations: 4 kB / 0.5426 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.1295, allocations: 3.938 kB / 0.5426 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1295, allocations: 4 kB / 0.5426 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1296, allocations: 15.94 kB / 0.5426 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.1297, allocations: 7.984 kB / 0.5426 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.36e-05/0.1297, allocations: 0 / 0.5426 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1297, allocations: 4 kB / 0.5426 GB, free: 0.9258 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 (10): * Single equations (assignments): 10 * 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 8.594e-05/0.1298, allocations: 113.8 kB / 0.5428 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.1298, allocations: 3.953 kB / 0.5428 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.13, allocations: 113.7 kB / 0.5429 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.13, allocations: 0 / 0.5429 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.13, allocations: 0 / 0.5429 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1301, allocations: 4 kB / 0.5429 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.1302, allocations: 173.6 kB / 0.543 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1302, allocations: 0 / 0.543 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.247e-05/0.1303, allocations: 12 kB / 0.543 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.1303, allocations: 7.969 kB / 0.5431 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1303, allocations: 7.938 kB / 0.5431 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1303, allocations: 3.938 kB / 0.5431 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1303, allocations: 0 / 0.5431 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.1305, allocations: 113.1 kB / 0.5432 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.1306, allocations: 77.11 kB / 0.5432 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.1306, allocations: 11.86 kB / 0.5433 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.511e-05/0.1306, allocations: 8 kB / 0.5433 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.1306, allocations: 0 / 0.5433 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1307, allocations: 4 kB / 0.5433 GB, free: 188 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.646e-05/0.1307, allocations: 75.28 kB / 0.5433 GB, free: 112 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1307, allocations: 0 / 0.5433 GB, free: 112 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002017/0.1309, allocations: 23.92 kB / 0.5434 GB, free: 88 kB / 398.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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.000168/0.1311, allocations: 103.3 kB / 0.5435 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.1312, allocations: 51.92 kB / 0.5435 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.1312, allocations: 0 / 0.5435 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.829e-05/0.1313, allocations: 39.86 kB / 0.5435 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.1314, allocations: 12.5 kB / 0.5436 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.1318, allocations: 133 kB / 0.5437 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.1321, allocations: 0.6875 MB / 0.5444 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.027e-05/0.1322, allocations: 19.7 kB / 0.5444 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.1322, allocations: 11.44 kB / 0.5444 GB, free: 14.98 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1322, allocations: 0 / 0.5444 GB, free: 14.98 MB / 414.1 MB Notification: Performance of Templates: time 0.002924/0.1351, allocations: 0.6408 MB / 0.545 GB, free: 14.34 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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: 4.676997682079673]