Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009965/0.0009965, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001683/0.001683, allocations: 169 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8499/0.8499, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.124/0.124, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/2.96e-05, allocations: 12.22 kB / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001527/0.001557, allocations: 0.516 MB / 348.2 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.00324, allocations: 1.382 MB / 349.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.003273, allocations: 4 kB / 349.6 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.003296, allocations: 0 / 349.6 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.542e-05/0.003331, allocations: 3.938 kB / 349.6 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006133/0.003945, allocations: 211.9 kB / 349.8 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.564e-05/0.004, allocations: 11.94 kB / 349.8 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.004044, allocations: 0 / 349.8 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.648e-05/0.00408, allocations: 7.984 kB / 349.8 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.594e-05/0.004126, allocations: 0 / 349.8 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.004142, allocations: 8 kB / 349.8 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003016/0.004444, allocations: 259.6 kB / 350 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.004456, allocations: 3.984 kB / 350 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.96e-05/0.004476, allocations: 0 / 350 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.004669, allocations: 191.6 kB / 350.2 MB, free: 6.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.004672, allocations: 0 / 350.2 MB, free: 6.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004673, allocations: 0 / 350.2 MB, free: 6.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.004678, allocations: 3.938 kB / 350.2 MB, free: 6.852 MB / 282.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.0002662/0.004944, allocations: 368.1 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.004985, allocations: 12.03 kB / 350.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.005026, allocations: 4.938 kB / 350.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.099e-05/0.005067, allocations: 104.6 kB / 350.7 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.005079, allocations: 4.375 kB / 350.7 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.005088, allocations: 4.359 kB / 350.7 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.084e-05/0.005178, allocations: 59.97 kB / 350.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.005186, allocations: 192 / 350.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.005196, allocations: 4.375 kB / 350.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.005206, allocations: 3.938 kB / 350.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.08e-05/0.005227, allocations: 11.97 kB / 350.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.005499, allocations: 252.1 kB / 351 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.602e-05/0.005535, allocations: 31.06 kB / 351.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.504e-05/0.00555, allocations: 11.75 kB / 351.1 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.005556, allocations: 0 / 351.1 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.005573, allocations: 37.33 kB / 351.1 MB, free: 5.828 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.005574, allocations: 0 / 351.1 MB, free: 5.828 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001198/0.005693, allocations: 41.62 kB / 351.2 MB, free: 5.781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.005712, allocations: 51.41 kB / 351.2 MB, free: 5.719 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.098e-05/0.005763, allocations: 157.9 kB / 351.4 MB, free: 5.547 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.00577, allocations: 25.7 kB / 351.4 MB, free: 5.516 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.902e-05/0.005799, allocations: 131.1 kB / 351.5 MB, free: 5.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.58e-06/0.005805, allocations: 4 kB / 351.5 MB, free: 5.379 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.005828, allocations: 27.36 kB / 351.6 MB, free: 5.344 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.808e-05/0.005866, allocations: 496.1 kB / 352 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-06/0.005875, allocations: 0 / 352 MB, free: 4.848 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.763e-05/0.005892, allocations: 27.06 kB / 352.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.085e-05/0.005923, allocations: 38.98 kB / 352.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.005926, allocations: 4 kB / 352.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.548e-05/0.005971, allocations: 57.53 kB / 352.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.005983, allocations: 4 kB / 352.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.005987, allocations: 0 / 352.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.006, allocations: 4 kB / 352.2 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.557e-05/0.006045, allocations: 7.984 kB / 352.2 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.00605, allocations: 3.938 kB / 352.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.236e-05/0.006062, allocations: 0 / 352.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.006068, allocations: 4 kB / 352.2 MB, free: 4.668 MB / 282.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 3.744e-05/0.006106, allocations: 156.5 kB / 352.3 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.006118, allocations: 7.938 kB / 352.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.971e-05/0.006208, allocations: 52.88 kB / 352.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.00621, allocations: 0 / 352.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.006213, allocations: 4 kB / 352.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.006216, allocations: 0 / 352.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.937e-05/0.006275, allocations: 108.6 kB / 352.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.006278, allocations: 0 / 352.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.006279, allocations: 3.984 kB / 352.5 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.91e-07/0.00628, allocations: 0 / 352.5 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.006286, allocations: 7.969 kB / 352.5 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.006287, allocations: 0 / 352.5 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006288, allocations: 4 kB / 352.5 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.603e-05/0.006334, allocations: 183.9 kB / 352.7 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-06/0.00634, allocations: 0 / 352.7 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.00635, allocations: 7.922 kB / 352.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.513e-05/0.006385, allocations: 4 kB / 352.7 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.006398, allocations: 0 / 352.7 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.006401, allocations: 0 / 352.7 MB, free: 4.066 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.598e-05/0.006417, allocations: 123.2 kB / 352.8 MB, free: 3.945 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006417, allocations: 4.125 kB / 352.8 MB, free: 3.941 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001949/0.006612, allocations: 35.94 kB / 352.9 MB, free: 3.906 MB / 282.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.0001924/0.006804, allocations: 143.2 kB / 353 MB, free: 3.758 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.507e-05/0.00689, allocations: 23.62 kB / 353 MB, free: 3.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006891, allocations: 0 / 353 MB, free: 3.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.205e-05/0.006913, allocations: 41.38 kB / 353.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.007061, allocations: 0 / 353.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002087/0.00727, allocations: 97.77 kB / 353.2 MB, free: 3.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.564e-05/0.007295, allocations: 59.34 kB / 353.2 MB, free: 3.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.07e-05/0.007316, allocations: 8.078 kB / 353.2 MB, free: 3.473 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.683e-05/0.007333, allocations: 12.44 kB / 353.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.007334, allocations: 0 / 353.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of Templates: time 0.002751/0.01008, allocations: 1.235 MB / 354.5 MB, free: 2.234 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.8594118277542293]