Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.0006776/0.0006776, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009096/0.001587, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006822/0.0006822, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008545/0.001537, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.8605/0.8605, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07987/0.9404, allocations: 53.87 MB / 243.7 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] 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.2367/0.2367, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02003/0.2567, allocations: 13.23 MB / 292.6 MB, free: 6.465 MB / 282.7 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003e-05/1.14e-05, allocations: 3.156 kB / 293.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001265/0.001276, allocations: 0.5411 MB / 294.4 MB, free: 4.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.002951, allocations: 1.41 MB / 295.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.597e-05/0.002966, allocations: 0 / 295.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.197e-06/0.002971, allocations: 0 / 295.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.811e-06/0.002976, allocations: 0 / 295.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.003454, allocations: 171.5 kB / 296 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.608e-05/0.0035, allocations: 4 kB / 296 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.595e-05/0.003536, allocations: 3.984 kB / 296 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.003571, allocations: 7.938 kB / 296 MB, free: 3.062 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.559e-05/0.003627, allocations: 4 kB / 296 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.003643, allocations: 0 / 296 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005457/0.004189, allocations: 308 kB / 296.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.0042, allocations: 4 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.251e-05/0.004212, allocations: 0 / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.004448, allocations: 135.7 kB / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.546e-05/0.004464, allocations: 4 kB / 296.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.72e-07/0.004464, allocations: 0 / 296.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.004481, allocations: 0 / 296.4 MB, free: 2.617 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003487/0.00483, allocations: 248.5 kB / 296.7 MB, free: 2.352 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.004863, allocations: 8.922 kB / 296.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.004893, allocations: 8.922 kB / 296.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.985e-05/0.004963, allocations: 101.8 kB / 296.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.004973, allocations: 4.375 kB / 296.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.004983, allocations: 12.3 kB / 296.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.005092, allocations: 59.97 kB / 296.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.005099, allocations: 192 / 296.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.005107, allocations: 384 / 296.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.005114, allocations: 3.938 kB / 296.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.239e-05/0.005137, allocations: 11.92 kB / 296.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.00539, allocations: 145 kB / 297 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.964e-05/0.00543, allocations: 22.58 kB / 297 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.26e-05/0.005443, allocations: 4.859 kB / 297 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-06/0.005448, allocations: 4 kB / 297 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.005471, allocations: 34.62 kB / 297.1 MB, free: 1.867 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.005472, allocations: 0 / 297.1 MB, free: 1.867 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001041/0.005576, allocations: 37.58 kB / 297.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.005615, allocations: 55.39 kB / 297.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.694e-05/0.005682, allocations: 99.23 kB / 297.3 MB, free: 1.648 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.005695, allocations: 25.7 kB / 297.3 MB, free: 1.617 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.005736, allocations: 88.08 kB / 297.4 MB, free: 1.527 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.858e-06/0.005746, allocations: 7.891 kB / 297.4 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.005773, allocations: 17.97 kB / 297.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.485e-05/0.005858, allocations: 322.8 kB / 297.7 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-06/0.005865, allocations: 0 / 297.7 MB, free: 1.172 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.863e-05/0.005884, allocations: 18.58 kB / 297.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.196e-05/0.005916, allocations: 22.52 kB / 297.8 MB, free: 1.113 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005918, allocations: 0 / 297.8 MB, free: 1.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.516e-05/0.005973, allocations: 49.62 kB / 297.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.005985, allocations: 4 kB / 297.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.005992, allocations: 12.03 kB / 297.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.006, allocations: 0 / 297.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.159e-05/0.006042, allocations: 7.984 kB / 297.8 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.006046, allocations: 3.938 kB / 297.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.58e-05/0.006062, allocations: 4 kB / 297.8 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.006068, allocations: 4 kB / 297.8 MB, free: 1.023 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 5.299e-05/0.006121, allocations: 113.8 kB / 298 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.006138, allocations: 0 / 298 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.599e-05/0.006224, allocations: 44.78 kB / 298 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.006227, allocations: 0 / 298 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.006229, allocations: 4.031 kB / 298 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.006233, allocations: 7.984 kB / 298 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.316e-05/0.006326, allocations: 57.91 kB / 298.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.006331, allocations: 0 / 298.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-07/0.006331, allocations: 0 / 298.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-06/0.006338, allocations: 7.984 kB / 298.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.00634, allocations: 0 / 298.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-06/0.006343, allocations: 0 / 298.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.006347, allocations: 11.91 kB / 298.1 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.006347, allocations: 0 / 298.1 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.906e-05/0.006416, allocations: 127.6 kB / 298.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-06/0.006425, allocations: 3.984 kB / 298.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.521e-05/0.00648, allocations: 0 / 298.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.006492, allocations: 7.938 kB / 298.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.006496, allocations: 0 / 298.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.496e-06/0.006504, allocations: 8.859 kB / 298.2 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006504, allocations: 0 / 298.2 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.006735, allocations: 39.94 kB / 298.3 MB, free: 0.5469 MB / 282.7 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.0002004/0.006936, allocations: 136.4 kB / 298.4 MB, free: 412 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.539e-05/0.006991, allocations: 16.8 kB / 298.4 MB, free: 392 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.006996, allocations: 0 / 298.4 MB, free: 392 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.555e-05/0.007021, allocations: 34.55 kB / 298.4 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.007146, allocations: 6.5 kB / 298.5 MB, free: 344 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00016/0.007306, allocations: 97.52 kB / 298.6 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.547e-05/0.007341, allocations: 55.34 kB / 298.6 MB, free: 144 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.961e-05/0.007361, allocations: 8.25 kB / 298.6 MB, free: 136 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.007401, allocations: 51.38 kB / 298.7 MB, free: 84 kB / 282.7 MB Notification: Performance of SimCode: time 8.61e-07/0.007402, allocations: 0 / 298.7 MB, free: 84 kB / 282.7 MB Notification: Performance of Templates: time 0.00288/0.01028, allocations: 1.277 MB / 299.9 MB, free: 14.82 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5821511577814817]