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.001343/0.001343, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 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.001445/0.001445, allocations: 160.5 kB / 24.56 MB, free: 16 kB / 18.57 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.9102/0.9102, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.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.2331/0.2331, allocations: 34.86 MB / 296.3 MB, free: 480 kB / 266.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.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 1.613e-06/1.613e-06, allocations: 0 / 378.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/3.041e-05, allocations: 3.156 kB / 378.7 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.005608/0.005639, allocations: 0.4917 MB / 379.2 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.007464, allocations: 1.408 MB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.007489, allocations: 0 / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.007509, allocations: 0 / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.962e-05/0.007539, allocations: 0 / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003766/0.0113, allocations: 212 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.642e-05/0.01136, allocations: 7.984 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.0114, allocations: 3.938 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.186e-05/0.01143, allocations: 8 kB / 380.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.01148, allocations: 7.984 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.0115, allocations: 0 / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004522/0.01195, allocations: 259.6 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.01196, allocations: 0 / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.01198, allocations: 8 kB / 381.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.01227, allocations: 191.5 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.01227, allocations: 0 / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01227, allocations: 0 / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.01228, allocations: 0 / 381.3 MB, free: 15.48 MB / 362.7 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.0003572/0.01263, allocations: 364.2 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.01268, allocations: 12.03 kB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.01272, allocations: 5.234 kB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.01e-05/0.01281, allocations: 108.6 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.01282, allocations: 4.375 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.01283, allocations: 384 / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.01293, allocations: 63.95 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.01294, allocations: 192 / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.01295, allocations: 384 / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.01296, allocations: 7.922 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.627e-05/0.01298, allocations: 3.938 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001136/0.01309, allocations: 112.6 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.399e-05/0.01313, allocations: 27.09 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/0.01315, allocations: 11.67 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.453e-06/0.01316, allocations: 4 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.01319, allocations: 45.39 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.01319, allocations: 0 / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001277/0.01331, allocations: 33.64 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.01335, allocations: 55.34 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.781e-05/0.01342, allocations: 153.9 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.01344, allocations: 29.69 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.01347, allocations: 130.9 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.0135, allocations: 0 / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.01352, allocations: 23.62 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.01365, allocations: 492.1 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.01366, allocations: 4 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.862e-06/0.01367, allocations: 0 / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.0137, allocations: 11.69 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.0137, allocations: 3.938 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.886e-05/0.01376, allocations: 37.69 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.01377, allocations: 8 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.01378, allocations: 0 / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.01379, allocations: 96 / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.169e-05/0.01386, allocations: 4 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.01387, allocations: 7.922 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.595e-05/0.01388, allocations: 7.953 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.01389, allocations: 0 / 383.1 MB, free: 13.54 MB / 362.7 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 6.938e-05/0.01396, allocations: 152.6 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.01397, allocations: 0 / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.0141, allocations: 52.78 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.0141, allocations: 4 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.01411, allocations: 3.938 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.01411, allocations: 0 / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.936e-05/0.01418, allocations: 108.6 kB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.01418, allocations: 4 kB / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.01418, allocations: 0 / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01419, allocations: 0 / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.01419, allocations: 0 / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01419, allocations: 0 / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.0142, allocations: 0 / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.52e-05/0.01427, allocations: 80.41 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-06/0.01428, allocations: 7.938 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.01429, allocations: 4 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.01436, allocations: 4 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/0.01438, allocations: 3.938 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.01438, allocations: 3.938 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.902e-05/0.01442, allocations: 123.2 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01442, allocations: 0 / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002809/0.0147, allocations: 39.92 kB / 383.6 MB, free: 12.89 MB / 362.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.0002681/0.01497, allocations: 147.3 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.311e-05/0.01505, allocations: 15.67 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01505, allocations: 0 / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.394e-05/0.01509, allocations: 41.39 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.01524, allocations: 3.938 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/0.01546, allocations: 94.42 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.556e-05/0.0155, allocations: 59.28 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.835e-05/0.01552, allocations: 8.062 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/0.01554, allocations: 12.5 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01554, allocations: 0 / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of Templates: time 0.006725/0.02226, allocations: 1.243 MB / 385.3 MB, free: 11.2 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.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.8328340840525925]