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.001249/0.001249, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.001392/0.001392, allocations: 164.5 kB / 24.91 MB, free: 8.766 MB / 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.8797/0.8797, allocations: 177 MB / 205.2 MB, free: 5.445 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.239/0.239, allocations: 34.86 MB / 296.6 MB, free: 440 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.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.052e-06/1.052e-06, allocations: 0 / 325.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133e-05/1.238e-05, allocations: 3.016 kB / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0008744/0.0008868, allocations: 0.4946 MB / 326.4 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.002273, allocations: 1.394 MB / 327.8 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.028e-05/0.002293, allocations: 4 kB / 327.8 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.395e-05/0.002307, allocations: 0 / 327.8 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.278e-05/0.00233, allocations: 0 / 327.8 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.002779, allocations: 212 kB / 328 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.696e-05/0.002816, allocations: 16.56 kB / 328 MB, free: 5.043 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.617e-05/0.002842, allocations: 0 / 328 MB, free: 5.043 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.442e-05/0.002866, allocations: 11.92 kB / 328 MB, free: 5.031 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.924e-05/0.002906, allocations: 0 / 328 MB, free: 5.031 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.002915, allocations: 4 kB / 328 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002808/0.003196, allocations: 251.6 kB / 328.3 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.003208, allocations: 4 kB / 328.3 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.118e-05/0.003219, allocations: 4 kB / 328.3 MB, free: 4.773 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.003409, allocations: 199.5 kB / 328.5 MB, free: 4.578 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003411, allocations: 0 / 328.5 MB, free: 4.578 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.003412, allocations: 4 kB / 328.5 MB, free: 4.574 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.935e-06/0.003414, allocations: 0 / 328.5 MB, free: 4.574 MB / 298.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.0001959/0.00361, allocations: 240.5 kB / 328.7 MB, free: 4.316 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.467e-05/0.003635, allocations: 11.97 kB / 328.7 MB, free: 4.305 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.92e-05/0.003654, allocations: 0.9375 kB / 328.7 MB, free: 4.305 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.429e-05/0.003699, allocations: 109.8 kB / 328.8 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.003706, allocations: 384 / 328.8 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.003715, allocations: 4.375 kB / 328.8 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.873e-05/0.003783, allocations: 67.94 kB / 328.9 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.949e-06/0.003788, allocations: 192 / 328.9 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-06/0.003793, allocations: 4.312 kB / 328.9 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.003798, allocations: 7.938 kB / 328.9 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.206e-05/0.00381, allocations: 4 kB / 328.9 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.003985, allocations: 145.7 kB / 329.1 MB, free: 3.918 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.473e-05/0.00401, allocations: 14.58 kB / 329.1 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.769e-06/0.00402, allocations: 8.922 kB / 329.1 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-06/0.004024, allocations: 0 / 329.1 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.004041, allocations: 34.5 kB / 329.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.004041, allocations: 0 / 329.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 7.222e-05/0.004113, allocations: 37.62 kB / 329.1 MB, free: 3.797 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.004134, allocations: 55.53 kB / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.287e-05/0.004177, allocations: 107 kB / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.004185, allocations: 25.7 kB / 329.3 MB, free: 3.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.004219, allocations: 88.14 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.129e-06/0.004224, allocations: 7.891 kB / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.004245, allocations: 21.7 kB / 329.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.797e-05/0.004303, allocations: 310.8 kB / 329.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-06/0.004307, allocations: 0 / 329.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.509e-05/0.004322, allocations: 26.5 kB / 329.8 MB, free: 3.109 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.341e-05/0.004346, allocations: 30.69 kB / 329.8 MB, free: 3.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.004348, allocations: 0 / 329.8 MB, free: 3.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.614e-05/0.004384, allocations: 45.62 kB / 329.9 MB, free: 3.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.004393, allocations: 8 kB / 329.9 MB, free: 3.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.004398, allocations: 3.938 kB / 329.9 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.004405, allocations: 0 / 329.9 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.875e-05/0.004434, allocations: 7.938 kB / 329.9 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.004438, allocations: 4 kB / 329.9 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.909e-06/0.004448, allocations: 4.094 kB / 329.9 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.004452, allocations: 0 / 329.9 MB, free: 2.992 MB / 298.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 4.006e-05/0.004492, allocations: 113.8 kB / 330 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.004503, allocations: 0 / 330 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.471e-05/0.004568, allocations: 48.78 kB / 330 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.00457, allocations: 0 / 330 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.004571, allocations: 0 / 330 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.004573, allocations: 0 / 330 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.703e-05/0.00464, allocations: 70.67 kB / 330.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.004642, allocations: 0 / 330.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-06/0.004644, allocations: 4 kB / 330.1 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-07/0.004644, allocations: 0 / 330.1 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-06/0.004647, allocations: 3.938 kB / 330.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.004647, allocations: 0 / 330.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.004649, allocations: 3.938 kB / 330.1 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.74e-05/0.004696, allocations: 123.6 kB / 330.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.004704, allocations: 8.062 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-06/0.004709, allocations: 0 / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.905e-05/0.004738, allocations: 8.031 kB / 330.3 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-06/0.004746, allocations: 3.938 kB / 330.3 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.004748, allocations: 0 / 330.3 MB, free: 2.566 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.945e-06/0.004756, allocations: 8.859 kB / 330.3 MB, free: 2.555 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004756, allocations: 0 / 330.3 MB, free: 2.555 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001655/0.004922, allocations: 43.92 kB / 330.3 MB, free: 2.512 MB / 298.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.0001565/0.005078, allocations: 124.3 kB / 330.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.694e-05/0.005125, allocations: 24.78 kB / 330.5 MB, free: 2.352 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.005128, allocations: 288 / 330.5 MB, free: 2.352 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.86e-05/0.005147, allocations: 34.56 kB / 330.5 MB, free: 2.309 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.571e-05/0.005232, allocations: 4.547 kB / 330.5 MB, free: 2.305 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001281/0.00536, allocations: 89.59 kB / 330.6 MB, free: 2.191 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.522e-05/0.005386, allocations: 59.34 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.451e-05/0.0054, allocations: 0 / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.005432, allocations: 51.38 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of SimCode: time 5.52e-07/0.005433, allocations: 0 / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of Templates: time 0.002421/0.007854, allocations: 1.264 MB / 332 MB, free: 0.8047 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 -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.789954653941095]