Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001249/0.001249, allocations: 79.59 kB / 21.18 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.001737/0.001737, allocations: 161.4 kB / 24.56 MB, free: 16 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.9685/0.9685, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2371/0.2371, allocations: 32.8 MB / 294.3 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.479e-06/4.479e-06, allocations: 4 kB / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.99e-05/4.437e-05, allocations: 6.25 kB / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001291/0.001335, allocations: 0.497 MB / 376.5 MB, free: 4.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.003052, allocations: 1.393 MB / 377.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.003086, allocations: 0 / 377.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.003112, allocations: 3.938 kB / 377.9 MB, free: 2.762 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.49e-05/0.003147, allocations: 4 kB / 377.9 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006768/0.003824, allocations: 216 kB / 378.1 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.719e-05/0.003901, allocations: 8 kB / 378.1 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.854e-05/0.003949, allocations: 4 kB / 378.1 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.844e-05/0.003988, allocations: 3.938 kB / 378.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.004042, allocations: 7.984 kB / 378.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.004058, allocations: 3.938 kB / 378.1 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000402/0.00446, allocations: 255.6 kB / 378.4 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.004479, allocations: 3.984 kB / 378.4 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.004504, allocations: 4 kB / 378.4 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.004743, allocations: 195.5 kB / 378.6 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.004747, allocations: 4 kB / 378.6 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.004748, allocations: 0 / 378.6 MB, free: 2.066 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.004755, allocations: 0 / 378.6 MB, free: 2.066 MB / 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.0003485/0.005103, allocations: 364.2 kB / 378.9 MB, free: 1.676 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.005149, allocations: 8.031 kB / 379 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.0052, allocations: 12.88 kB / 379 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.581e-05/0.005266, allocations: 104.6 kB / 379.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.005278, allocations: 384 / 379.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.005288, allocations: 4.375 kB / 379.1 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.005407, allocations: 63.95 kB / 379.1 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.005415, allocations: 4.188 kB / 379.1 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.005425, allocations: 384 / 379.1 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.005434, allocations: 3.938 kB / 379.1 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.41e-05/0.005458, allocations: 11.92 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.00583, allocations: 248.1 kB / 379.4 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.303e-05/0.005883, allocations: 27.06 kB / 379.4 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.432e-05/0.005908, allocations: 11.69 kB / 379.4 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.005916, allocations: 0 / 379.4 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.005949, allocations: 41.39 kB / 379.5 MB, free: 1.047 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 5.1e-06/0.005955, allocations: 4 kB / 379.5 MB, free: 1.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001705/0.006125, allocations: 37.62 kB / 379.5 MB, free: 1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.00617, allocations: 55.41 kB / 379.6 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.312e-05/0.006263, allocations: 153.9 kB / 379.7 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.006277, allocations: 25.7 kB / 379.7 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.006337, allocations: 134.8 kB / 379.9 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.774e-06/0.006345, allocations: 3.938 kB / 379.9 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.006377, allocations: 19.38 kB / 379.9 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.00652, allocations: 0.4884 MB / 380.4 MB, free: 68 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.006535, allocations: 4.25 kB / 380.4 MB, free: 64 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.419e-05/0.006579, allocations: 27.06 kB / 380.4 MB, free: 24 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.588e-05/0.006645, allocations: 39 kB / 380.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.006649, allocations: 0 / 380.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.051e-05/0.006729, allocations: 53.52 kB / 380.5 MB, free: 15.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.006748, allocations: 8 kB / 380.5 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.006755, allocations: 0 / 380.5 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.006773, allocations: 0 / 380.5 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.601e-05/0.006829, allocations: 12.08 kB / 380.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.006836, allocations: 7.938 kB / 380.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.245e-05/0.006849, allocations: 4 kB / 380.5 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.006854, allocations: 0 / 380.5 MB, free: 15.88 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 5.931e-05/0.006913, allocations: 156.6 kB / 380.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.006927, allocations: 7.875 kB / 380.7 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.007034, allocations: 48.92 kB / 380.7 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.007036, allocations: 4.031 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.007041, allocations: 4 kB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.007043, allocations: 0 / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.178e-05/0.007125, allocations: 104.6 kB / 380.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.007129, allocations: 0 / 380.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.007129, allocations: 4 kB / 380.9 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.007131, allocations: 0 / 380.9 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.007138, allocations: 7.938 kB / 380.9 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.007139, allocations: 0 / 380.9 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.007141, allocations: 3.984 kB / 380.9 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.456e-05/0.007216, allocations: 183.9 kB / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-06/0.007223, allocations: 8.031 kB / 381.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.007234, allocations: 3.938 kB / 381.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.553e-05/0.00727, allocations: 0 / 381.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.007284, allocations: 3.984 kB / 381.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.007288, allocations: 4 kB / 381.1 MB, free: 15.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.907e-05/0.007317, allocations: 119.2 kB / 381.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007317, allocations: 0 / 381.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000225/0.007542, allocations: 39.94 kB / 381.2 MB, free: 15.12 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.0002153/0.007758, allocations: 143.2 kB / 381.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.066e-05/0.007838, allocations: 23.62 kB / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.00784, allocations: 0 / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.784e-05/0.007868, allocations: 37.39 kB / 381.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.008011, allocations: 7.984 kB / 381.4 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.008239, allocations: 98.36 kB / 381.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.776e-05/0.008277, allocations: 51.36 kB / 381.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.386e-05/0.008301, allocations: 256 / 381.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.83e-05/0.008319, allocations: 16.5 kB / 381.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.00832, allocations: 0 / 381.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of Templates: time 0.003403/0.01172, allocations: 1.243 MB / 382.8 MB, free: 13.45 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.888718005735427]