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.001879/0.001879, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.002281/0.002281, allocations: 160.9 kB / 24.27 MB, free: 172 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 1.552/1.552, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 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.3442/0.3442, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 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.833e-06/1.833e-06, allocations: 0 / 377.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.136e-05, allocations: 2.312 kB / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001614/0.001646, allocations: 0.4895 MB / 377.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.003803, allocations: 1.362 MB / 379 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.00383, allocations: 0 / 379 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.185e-05/0.003841, allocations: 0 / 379 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.683e-05/0.003878, allocations: 3.938 kB / 379 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007369/0.004615, allocations: 211.9 kB / 379.2 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.417e-05/0.004659, allocations: 7.984 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.383e-05/0.004693, allocations: 11.94 kB / 379.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.104e-05/0.004724, allocations: 7.984 kB / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.413e-05/0.004768, allocations: 0 / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.004781, allocations: 0 / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004679/0.005249, allocations: 259.6 kB / 379.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.005262, allocations: 3.938 kB / 379.5 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.005281, allocations: 0 / 379.5 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.005601, allocations: 199.5 kB / 379.7 MB, free: 384 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.005604, allocations: 0 / 379.7 MB, free: 384 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005605, allocations: 0 / 379.7 MB, free: 384 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.005609, allocations: 4 kB / 379.7 MB, free: 380 kB / 346.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.0004169/0.006026, allocations: 266.2 kB / 380 MB, free: 84 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.006064, allocations: 8.031 kB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.00611, allocations: 4.938 kB / 380 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.006241, allocations: 105.8 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.006254, allocations: 384 / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.006263, allocations: 384 / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.006398, allocations: 59.95 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.006407, allocations: 192 / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.006417, allocations: 384 / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.006423, allocations: 11.94 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.157e-05/0.006445, allocations: 3.938 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.006591, allocations: 101.3 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.115e-05/0.006643, allocations: 14.58 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.006669, allocations: 16.92 kB / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.006681, allocations: 0 / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.006722, allocations: 38.56 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.006722, allocations: 0 / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001597/0.006882, allocations: 37.64 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.00693, allocations: 55.34 kB / 380.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.46e-05/0.007025, allocations: 102 kB / 380.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.007046, allocations: 25.7 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.007096, allocations: 84.14 kB / 380.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.00712, allocations: 7.938 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.007152, allocations: 9.719 kB / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.007332, allocations: 310.8 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.007346, allocations: 4 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-06/0.007353, allocations: 0 / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/0.007381, allocations: 8.859 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.007382, allocations: 8.125 kB / 381 MB, free: 14.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.818e-05/0.007451, allocations: 41.69 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.007467, allocations: 4 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007471, allocations: 0 / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.007491, allocations: 0 / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.007557, allocations: 4 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.007565, allocations: 3.938 kB / 381 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.384e-05/0.007579, allocations: 0 / 381 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.007586, allocations: 0 / 381 MB, free: 14.88 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 9.366e-05/0.007679, allocations: 109.8 kB / 381.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.007692, allocations: 7.984 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.00782, allocations: 48.78 kB / 381.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.007822, allocations: 0 / 381.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.007829, allocations: 3.938 kB / 381.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.007834, allocations: 4 kB / 381.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.882e-05/0.007932, allocations: 97.31 kB / 381.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.007937, allocations: 0 / 381.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-06/0.00794, allocations: 4.031 kB / 381.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.007942, allocations: 4 kB / 381.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.007947, allocations: 0 / 381.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.007948, allocations: 0 / 381.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007949, allocations: 0 / 381.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.639e-05/0.008045, allocations: 65.06 kB / 381.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.008053, allocations: 4 kB / 381.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.008064, allocations: 0 / 381.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.008137, allocations: 4 kB / 381.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.008155, allocations: 7.938 kB / 381.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.008162, allocations: 3.938 kB / 381.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.889e-05/0.008211, allocations: 79.31 kB / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008211, allocations: 0 / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002778/0.008488, allocations: 51.86 kB / 381.5 MB, free: 14.34 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.0003041/0.008793, allocations: 143.1 kB / 381.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.704e-05/0.00886, allocations: 8 kB / 381.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.008861, allocations: 0 / 381.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.812e-05/0.008909, allocations: 29.7 kB / 381.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.00907, allocations: 4.219 kB / 381.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.009304, allocations: 88.77 kB / 381.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.131e-05/0.009365, allocations: 63.28 kB / 381.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.403e-05/0.009379, allocations: 3.938 kB / 381.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.009404, allocations: 12.5 kB / 381.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009405, allocations: 0 / 381.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of Templates: time 0.003835/0.01324, allocations: 1.117 MB / 383 MB, free: 12.81 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.834379044943489]