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.00135/0.00135, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001548/0.001548, allocations: 216.4 kB / 22.99 MB, free: 4.945 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.05409/0.05409, allocations: 9.145 MB / 322.3 MB, free: 10.22 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.002477/0.002477, allocations: 71.89 kB / 447.8 MB, free: 84 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1493, allocations: 54.93 MB / 0.4909 GB, free: 9.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.02233/0.1717, allocations: 15.96 MB / 0.5065 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003302/0.175, allocations: 2.204 MB / 0.5087 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.438e-05/0.175, allocations: 0 / 0.5087 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.1761, allocations: 331.8 kB / 0.509 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008743/0.1848, allocations: 3.228 MB / 0.5121 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.731e-05/0.1849, allocations: 11.98 kB / 0.5121 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.1852, allocations: 191 kB / 0.5123 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.869e-05/0.1852, allocations: 9.75 kB / 0.5123 GB, free: 3.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.1854, allocations: 103.5 kB / 0.5124 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.1856, allocations: 55.7 kB / 0.5125 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.1856, allocations: 7.938 kB / 0.5125 GB, free: 2.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2929/0.4785, allocations: 4.354 MB / 0.5167 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.4785, allocations: 18.05 kB / 0.5168 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.4787, allocations: 52.77 kB / 0.5168 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006024/0.4847, allocations: 2.218 MB / 0.519 GB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.4847, allocations: 0.75 kB / 0.519 GB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4847, allocations: 0 / 0.519 GB, free: 11.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.4847, allocations: 3.562 kB / 0.519 GB, free: 11.41 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.001726/0.4864, allocations: 0.606 MB / 0.5196 GB, free: 10.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.4865, allocations: 15.16 kB / 0.5196 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.4866, allocations: 30.14 kB / 0.5196 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.4868, allocations: 133.6 kB / 0.5197 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.4868, allocations: 0 / 0.5197 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.4868, allocations: 2.938 kB / 0.5197 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.4871, allocations: 170.2 kB / 0.5199 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4871, allocations: 0 / 0.5199 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.4871, allocations: 0 / 0.5199 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.4872, allocations: 12.89 kB / 0.5199 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.4876, allocations: 198.3 kB / 0.5201 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/0.4878, allocations: 207.1 kB / 0.5203 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.4881, allocations: 155.1 kB / 0.5205 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.4883, allocations: 134.7 kB / 0.5206 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01776/0.5061, allocations: 3.63 MB / 0.5241 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.5061, allocations: 37.94 kB / 0.5242 GB, free: 10.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.5061, allocations: 0 / 0.5242 GB, free: 10.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.000989/0.5071, allocations: 475.4 kB / 0.5246 GB, free: 10.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.5072, allocations: 54.14 kB / 0.5247 GB, free: 10.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.5073, allocations: 130.2 kB / 0.5248 GB, free: 10.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.5073, allocations: 29.7 kB / 0.5248 GB, free: 10.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.5073, allocations: 91.67 kB / 0.5249 GB, free: 10.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.805e-05/0.5074, allocations: 118.1 kB / 0.525 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.5074, allocations: 34.97 kB / 0.5251 GB, free: 10.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.5075, allocations: 326.2 kB / 0.5254 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.5077, allocations: 122.8 kB / 0.5255 GB, free: 9.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.5079, allocations: 123.5 kB / 0.5256 GB, free: 9.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.5084, allocations: 321.2 kB / 0.5259 GB, free: 9.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5084, allocations: 3.281 kB / 0.5259 GB, free: 9.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006025/0.509, allocations: 347.1 kB / 0.5262 GB, free: 9.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.509, allocations: 7.375 kB / 0.5262 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5091, allocations: 0 / 0.5262 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.5091, allocations: 9.812 kB / 0.5263 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.5092, allocations: 17.52 kB / 0.5263 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5092, allocations: 1.438 kB / 0.5263 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.5093, allocations: 25.11 kB / 0.5263 GB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.5094, allocations: 3 kB / 0.5263 GB, free: 9.637 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 7.919e-05/0.5094, allocations: 118 kB / 0.5264 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.5095, allocations: 13.2 kB / 0.5264 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006949/0.5102, allocations: 385.7 kB / 0.5268 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.17e-05/0.5102, allocations: 9.156 kB / 0.5268 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5102, allocations: 1.469 kB / 0.5268 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.5102, allocations: 3.938 kB / 0.5268 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.5104, allocations: 197.7 kB / 0.527 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.5104, allocations: 6.5 kB / 0.527 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.5105, allocations: 19.75 kB / 0.527 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.5105, allocations: 4 kB / 0.527 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.5105, allocations: 0.9062 kB / 0.527 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5105, allocations: 1.219 kB / 0.527 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.5105, allocations: 4.641 kB / 0.527 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.5111, allocations: 388.8 kB / 0.5274 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.5112, allocations: 32.42 kB / 0.5274 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.5112, allocations: 1.375 kB / 0.5274 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.5113, allocations: 20 kB / 0.5275 GB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.5114, allocations: 10.45 kB / 0.5275 GB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.5114, allocations: 2.375 kB / 0.5275 GB, free: 9.152 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.085e-05/0.5114, allocations: 100.2 kB / 0.5276 GB, free: 9.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5114, allocations: 1.375 kB / 0.5276 GB, free: 9.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002553/0.514, allocations: 495.9 kB / 0.528 GB, free: 8.992 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.002768/0.5168, allocations: 0.7269 MB / 0.5287 GB, free: 8.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008217/0.5176, allocations: 264.8 kB / 0.529 GB, free: 8.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5176, allocations: 4.5 kB / 0.529 GB, free: 8.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.518, allocations: 141.1 kB / 0.5291 GB, free: 8.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005715/0.5185, allocations: 68.08 kB / 0.5292 GB, free: 8.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009806/0.5195, allocations: 411.9 kB / 0.5296 GB, free: 8.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.5196, allocations: 104.3 kB / 0.5297 GB, free: 8.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.262e-05/0.5197, allocations: 16.47 kB / 0.5297 GB, free: 8.473 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5197, allocations: 0 / 0.5297 GB, free: 8.473 MB / 382.1 MB Notification: Performance of Templates: time 0.0257/0.5454, allocations: 12.61 MB / 0.542 GB, free: 4.391 MB / 382.1 MB " [Timeout remaining time 659] 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 -DOMC_BUILD -DUSE_THREAD -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.601184003055096] Failed to read output from testmodel.py, exit status != 0: 0.5538482251577079 0.566240938 0.078248064 Calling exit ...