Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008616/0.0008616, allocations: 83.58 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009043/0.0009043, allocations: 161 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9075/0.9075, allocations: 177.1 MB / 205 MB, free: 5.156 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2524/0.2524, allocations: 34.26 MB / 295.7 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.669e-05, allocations: 2.312 kB / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.002351/0.002368, allocations: 0.5027 MB / 378.5 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.004052, allocations: 1.393 MB / 379.9 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.00408, allocations: 0 / 379.9 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.193e-05/0.004102, allocations: 0 / 379.9 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.88e-05/0.00413, allocations: 3.938 kB / 379.9 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.004739, allocations: 216 kB / 380.1 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.319e-05/0.004782, allocations: 8 kB / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.933e-05/0.004811, allocations: 7.984 kB / 380.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.695e-05/0.004838, allocations: 4 kB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.928e-05/0.004877, allocations: 0 / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.004891, allocations: 3.984 kB / 380.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.0052, allocations: 267.5 kB / 380.4 MB, free: 276 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.00521, allocations: 0 / 380.4 MB, free: 276 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.504e-05/0.005225, allocations: 3.984 kB / 380.4 MB, free: 272 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.005405, allocations: 191.6 kB / 380.6 MB, free: 80 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.005407, allocations: 0 / 380.6 MB, free: 80 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005407, allocations: 4 kB / 380.6 MB, free: 76 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.005411, allocations: 0 / 380.6 MB, free: 76 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002732/0.005684, allocations: 364.2 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.005714, allocations: 11.97 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.005745, allocations: 4.938 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.155e-05/0.005796, allocations: 108.6 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.005806, allocations: 384 / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.005814, allocations: 8.375 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.81e-05/0.005893, allocations: 55.97 kB / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.005899, allocations: 4.172 kB / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.005906, allocations: 384 / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.005914, allocations: 11.94 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.596e-05/0.00593, allocations: 7.938 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.006173, allocations: 252 kB / 381.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.42e-05/0.006208, allocations: 23.06 kB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.344e-05/0.006221, allocations: 7.75 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-06/0.006226, allocations: 4 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.006248, allocations: 41.36 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.422e-06/0.006249, allocations: 0 / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001177/0.006367, allocations: 37.64 kB / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.006395, allocations: 59.53 kB / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.026e-05/0.006455, allocations: 153.9 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.006465, allocations: 25.7 kB / 381.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.006505, allocations: 134.8 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.887e-06/0.006508, allocations: 0 / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.006537, allocations: 23.38 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.006664, allocations: 492.1 kB / 382.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.006675, allocations: 4 kB / 382.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.795e-05/0.006703, allocations: 31.05 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.405e-05/0.006747, allocations: 39.12 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006749, allocations: 0 / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.079e-05/0.00683, allocations: 61.52 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.006842, allocations: 4 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.006846, allocations: 0 / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.006861, allocations: 4 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.334e-05/0.006905, allocations: 8 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.00691, allocations: 0 / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.748e-05/0.006927, allocations: 8.031 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.006935, allocations: 4 kB / 382.6 MB, free: 13.89 MB / 362.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 6.727e-05/0.007002, allocations: 152.6 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.007018, allocations: 11.88 kB / 382.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.542e-05/0.007103, allocations: 48.92 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.007105, allocations: 0 / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.007107, allocations: 0 / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.00711, allocations: 0 / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.33e-05/0.007183, allocations: 116.7 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.007186, allocations: 0 / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.007186, allocations: 0 / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007188, allocations: 3.938 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.007193, allocations: 3.938 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.007194, allocations: 0 / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.007194, allocations: 0 / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.742e-05/0.007262, allocations: 187.9 kB / 383.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-06/0.007268, allocations: 3.984 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-06/0.007276, allocations: 3.938 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-05/0.007309, allocations: 4.031 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.091e-05/0.00732, allocations: 4 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.007322, allocations: 0 / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.817e-05/0.00735, allocations: 119.2 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00735, allocations: 0 / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001763/0.007527, allocations: 47.92 kB / 383.2 MB, free: 13.13 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.0001769/0.007703, allocations: 143.2 kB / 383.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.424e-05/0.007768, allocations: 23.61 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007769, allocations: 4.281 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.377e-05/0.007793, allocations: 37.39 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.007946, allocations: 0 / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000201/0.008147, allocations: 102.4 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.697e-05/0.008184, allocations: 55.34 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.724e-05/0.008201, allocations: 4 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.347e-05/0.008214, allocations: 8.5 kB / 383.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.008215, allocations: 0 / 383.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of Templates: time 0.002407/0.01062, allocations: 1.248 MB / 384.9 MB, free: 11.45 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.8691085311584175]