Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.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.001369/0.001369, allocations: 99.59 kB / 21.2 MB, free: 0.6406 MB / 14.72 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.001517/0.001517, allocations: 217.1 kB / 24.5 MB, free: 3.926 MB / 14.72 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 1.633/1.633, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2491/0.2491, allocations: 46.96 MB / 361.6 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 179] 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.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.357e-05/3.357e-05, allocations: 4.812 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.0395/0.03954, allocations: 15.82 MB / 0.5127 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00991/0.04945, allocations: 4.035 MB / 0.5167 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008685/0.05031, allocations: 27.75 kB / 0.5167 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.05151, allocations: 286 kB / 0.517 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.05408, allocations: 0.7655 MB / 0.5177 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003221/0.0573, allocations: 1.01 MB / 0.5187 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2809/0.3382, allocations: 1.644 MB / 0.5203 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.3394, allocations: 437.5 kB / 0.5207 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.3411, allocations: 0.6946 MB / 0.5214 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008402/0.342, allocations: 491.1 kB / 0.5219 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.3421, allocations: 50.88 kB / 0.5219 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.3438, allocations: 0.6054 MB / 0.5225 GB, free: 15.57 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001363/0.3452, allocations: 1.408 MB / 0.5239 GB, free: 14.98 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007328/0.3459, allocations: 0.8757 MB / 0.5247 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.3462, allocations: 72.88 kB / 0.5248 GB, free: 14.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001771/0.3463, allocations: 24.06 kB / 0.5248 GB, free: 14.49 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 (107) * Number of variables: 117 (114) Notification: Performance of [SIM] Bindings: time 0.00457/0.3509, allocations: 3.271 MB / 0.528 GB, free: 13.22 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005189/0.3514, allocations: 336.2 kB / 0.5283 GB, free: 13.19 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.004058/0.3555, allocations: 2.578 MB / 0.5309 GB, free: 13.11 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0008844/0.3564, allocations: 432.2 kB / 0.5313 GB, free: 12.98 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.004494/0.3609, allocations: 2.499 MB / 0.5337 GB, free: 12.21 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0006497/0.3615, allocations: 418.9 kB / 0.5341 GB, free: 12.07 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002862/0.3618, allocations: 204.9 kB / 0.5343 GB, free: 12 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0006872/0.3625, allocations: 459 kB / 0.5347 GB, free: 11.8 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0005502/0.363, allocations: 363.3 kB / 0.5351 GB, free: 11.64 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.001177/0.3642, allocations: 0.9197 MB / 0.536 GB, free: 11.09 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.002555/0.3668, allocations: 1.484 MB / 0.5374 GB, free: 10.57 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00223/0.369, allocations: 1.668 MB / 0.5391 GB, free: 9.781 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.002797/0.3718, allocations: 1.235 MB / 0.5403 GB, free: 9.145 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.003378/0.3752, allocations: 2.857 MB / 0.5431 GB, free: 7.727 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0001605/0.3753, allocations: 51.03 kB / 0.5431 GB, free: 7.688 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0006885/0.376, allocations: 0.5979 MB / 0.5437 GB, free: 7.359 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.006853/0.3829, allocations: 4.444 MB / 0.548 GB, free: 6.246 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.0005648/0.3834, allocations: 444 kB / 0.5485 GB, free: 6.004 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 2.214e-06/0.3834, allocations: 0 / 0.5485 GB, free: 6.004 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.768e-05/0.3835, allocations: 7.594 kB / 0.5485 GB, free: 6.004 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 0.0003221/0.3838, allocations: 243.6 kB / 0.5487 GB, free: 5.871 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 3.855e-05/0.3838, allocations: 12.56 kB / 0.5487 GB, free: 5.867 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.003259/0.3871, allocations: 2.499 MB / 0.5512 GB, free: 4.652 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.0005874/0.3877, allocations: 0.5039 MB / 0.5516 GB, free: 4.254 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 7 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 9 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 33 (33) {p_table.a, p_table.b, p_table.last, p_table.nextEvent, p_table.nextEventScaled, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 75 (scalar:75, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 2, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 127 (scalar:124, array:3, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 2, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 130 (scalar:127, array:3, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 2, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 9.889e-05/0.3878, allocations: 92.73 kB / 0.5517 GB, free: 4.184 MB / 382.1 MB Notification: Performance of SimCode: time 0.005815/0.3936, allocations: 3.907 MB / 0.5556 GB, free: 1.578 MB / 382.1 MB Notification: Performance of Templates: time 0.0295/0.4231, allocations: 16.74 MB / 0.5719 GB, free: 0.918 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.makefile [Timeout 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.o ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.c ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.c:327:2090: error: too many arguments to function call, expected 9, have 12 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_functions.h:156:15: note: 'omc__omcQ_24fDER0_Modelica_Fluid_Utilities_regRoot2_regRoot2__utility' declared here modelica_real omc__omcQ_24fDER0_Modelica_Fluid_Utilities_regRoot2_regRoot2__utility(threadData_t *threadData, modelica_real _x, modelica_real _x1, modelica_real _k1, modelica_real _k2, modelica_boolean _use_yd0, modelica_real _yd0, modelica_real __omcQ_24fDER_5Fx, modelica_real __omcQ_24fDER_5Fyd0); ^ ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.c:327:3747: error: too many arguments to function call, expected 9, have 12 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_functions.h:156:15: note: 'omc__omcQ_24fDER0_Modelica_Fluid_Utilities_regRoot2_regRoot2__utility' declared here modelica_real omc__omcQ_24fDER0_Modelica_Fluid_Utilities_regRoot2_regRoot2__utility(threadData_t *threadData, modelica_real _x, modelica_real _x1, modelica_real _k1, modelica_real _k2, modelica_boolean _use_yd0, modelica_real _yd0, modelica_real __omcQ_24fDER_5Fx, modelica_real __omcQ_24fDER_5Fyd0); ^ 2 errors generated. make: *** [: ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.o] Error 1 [Calling os._exit(0), Time elapsed: 3.6116774221882224] Failed to read output from testmodel.py, exit status != 0: ['time', 'p_table.a', 'p_table.b', 'p_table.last', 'p_table.nextEvent'] 0.4354386958293617 0.44795834999999995 0.098214275 Calling exit ...