Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.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.001765/0.001765, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002143/0.002143, allocations: 213.3 kB / 23.01 MB, free: 4.566 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.04973/0.04973, allocations: 9.134 MB / 322.3 MB, free: 10.45 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.Validation.MaxwellLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop") translateModel(HelmholtzMedia.Examples.Validation.MaxwellLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 67.89 kB / 447.8 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1166, allocations: 54.94 MB / 0.491 GB, free: 9.535 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.02143/0.138, allocations: 17.69 MB / 0.5083 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003222/0.1412, allocations: 2.418 MB / 0.5106 GB, free: 5.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.217e-05/0.1413, allocations: 3.938 kB / 0.5106 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.1423, allocations: 427.6 kB / 0.5111 GB, free: 4.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007713/0.15, allocations: 3.293 MB / 0.5143 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.724e-05/0.1501, allocations: 11.98 kB / 0.5143 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.1503, allocations: 195 kB / 0.5145 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.1504, allocations: 5.75 kB / 0.5145 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.1506, allocations: 107.5 kB / 0.5146 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.959e-05/0.1507, allocations: 59.72 kB / 0.5146 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1507, allocations: 4 kB / 0.5146 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2294/0.3801, allocations: 6.788 MB / 0.5213 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.254e-05/0.3802, allocations: 18.36 kB / 0.5213 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.3803, allocations: 60.56 kB / 0.5213 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005385/0.3857, allocations: 2.806 MB / 0.5241 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3857, allocations: 1.125 kB / 0.5241 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3857, allocations: 4.281 kB / 0.5241 GB, free: 11.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3857, allocations: 1.5 kB / 0.5241 GB, free: 11.09 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001431/0.3871, allocations: 0.6129 MB / 0.5247 GB, free: 10.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3871, allocations: 9.781 kB / 0.5247 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.3873, allocations: 32.16 kB / 0.5247 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.3874, allocations: 125.3 kB / 0.5248 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3874, allocations: 6.031 kB / 0.5249 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.3874, allocations: 2.125 kB / 0.5249 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.3877, allocations: 165.6 kB / 0.525 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3877, allocations: 3.047 kB / 0.525 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.3877, allocations: 0 / 0.525 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.3877, allocations: 9.75 kB / 0.525 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.3881, allocations: 209.1 kB / 0.5252 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.3883, allocations: 248.6 kB / 0.5255 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.3885, allocations: 151.3 kB / 0.5256 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.3887, allocations: 135.5 kB / 0.5257 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01605/0.4048, allocations: 3.621 MB / 0.5293 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.4048, allocations: 31.62 kB / 0.5293 GB, free: 10.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.703e-06/0.4048, allocations: 0 / 0.5293 GB, free: 10.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008641/0.4057, allocations: 482 kB / 0.5298 GB, free: 10.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.4057, allocations: 56.22 kB / 0.5298 GB, free: 10.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.4058, allocations: 123.7 kB / 0.5299 GB, free: 9.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.4058, allocations: 29.95 kB / 0.53 GB, free: 9.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.4059, allocations: 88.06 kB / 0.53 GB, free: 9.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.528e-05/0.406, allocations: 119.2 kB / 0.5302 GB, free: 9.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.406, allocations: 36.06 kB / 0.5302 GB, free: 9.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.4061, allocations: 324.7 kB / 0.5305 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.4063, allocations: 124 kB / 0.5306 GB, free: 9.426 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.4066, allocations: 126.2 kB / 0.5307 GB, free: 9.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/0.407, allocations: 319.2 kB / 0.531 GB, free: 9.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.407, allocations: 0 / 0.531 GB, free: 9.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004754/0.4075, allocations: 344.7 kB / 0.5314 GB, free: 9.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4075, allocations: 4.594 kB / 0.5314 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4075, allocations: 7.938 kB / 0.5314 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.4075, allocations: 2.281 kB / 0.5314 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.4077, allocations: 23.98 kB / 0.5314 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4077, allocations: 0 / 0.5314 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.4078, allocations: 24.55 kB / 0.5314 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.4078, allocations: 2.125 kB / 0.5314 GB, free: 9.289 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.525e-05/0.4079, allocations: 114.1 kB / 0.5315 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.4079, allocations: 18.31 kB / 0.5316 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005972/0.4085, allocations: 389.7 kB / 0.5319 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4085, allocations: 6.141 kB / 0.5319 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4085, allocations: 0 / 0.5319 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4085, allocations: 1.188 kB / 0.5319 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.4087, allocations: 239.8 kB / 0.5322 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4087, allocations: 3.531 kB / 0.5322 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.387e-05/0.4088, allocations: 24.97 kB / 0.5322 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4088, allocations: 1.031 kB / 0.5322 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.4088, allocations: 8.75 kB / 0.5322 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.4088, allocations: 1.125 kB / 0.5322 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4088, allocations: 3.938 kB / 0.5322 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.4093, allocations: 388.5 kB / 0.5326 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.4093, allocations: 34.88 kB / 0.5326 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.4093, allocations: 3.938 kB / 0.5326 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.54e-05/0.4094, allocations: 10.75 kB / 0.5326 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.4095, allocations: 10.92 kB / 0.5326 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.4095, allocations: 2.344 kB / 0.5326 GB, free: 8.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.111e-05/0.4095, allocations: 103.2 kB / 0.5327 GB, free: 8.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4095, allocations: 4 kB / 0.5327 GB, free: 8.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002462/0.412, allocations: 498.9 kB / 0.5332 GB, free: 8.609 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002518/0.4145, allocations: 0.7235 MB / 0.5339 GB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005559/0.4151, allocations: 268.6 kB / 0.5342 GB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4151, allocations: 0 / 0.5342 GB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.4153, allocations: 131.2 kB / 0.5343 GB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.4157, allocations: 72.86 kB / 0.5344 GB, free: 8.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006457/0.4164, allocations: 419.2 kB / 0.5348 GB, free: 8.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.4165, allocations: 0.7187 MB / 0.5355 GB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.4166, allocations: 13.06 kB / 0.5355 GB, free: 7.469 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4166, allocations: 5.125 kB / 0.5355 GB, free: 7.465 MB / 382.1 MB Notification: Performance of Templates: time 0.02029/0.4369, allocations: 12.54 MB / 0.5477 GB, free: 1.402 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.makefile [Timeout 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopCalcHelperMain.cpp In file included from OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopCalcHelperMain.cpp:28: ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopFunctions.cpp:6285:39: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopFunctions.cpp:6286:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,2.549219298245614e-4,!_initial,"2.549219298245614e-4"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopFunctions.cpp:6345:39: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopFunctions.cpp:6346:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,2.549219298245614e-4,!_initial,"2.549219298245614e-4"); ^ 4 errors generated. make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.232915836968459] Failed to read output from testmodel.py, exit status != 0: 0.4434845370706171 0.45767096300000004 0.068838248 Calling exit ...