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.0009976/0.0009976, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001169/0.001169, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 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.8453/0.8453, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.02883/0.02883, allocations: 7.516 MB / 267.5 MB, free: 6.18 MB / 250.7 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 2.725e-06/2.725e-06, allocations: 3.938 kB / 393 MB, free: 5.848 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.731e-05, allocations: 2.281 kB / 393 MB, free: 5.844 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01261/0.01264, allocations: 15.94 MB / 408.9 MB, free: 5.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.01454, allocations: 2.196 MB / 411.1 MB, free: 3.637 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.01459, allocations: 0 / 411.1 MB, free: 3.637 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007565/0.01535, allocations: 347.6 kB / 411.5 MB, free: 3.297 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005469/0.02082, allocations: 3.247 MB / 414.7 MB, free: 40 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.149e-05/0.02085, allocations: 11.98 kB / 414.7 MB, free: 28 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.02106, allocations: 202.9 kB / 414.9 MB, free: 15.82 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.0211, allocations: 13.78 kB / 415 MB, free: 15.81 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.02131, allocations: 119.6 kB / 415.1 MB, free: 15.69 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.514e-05/0.02137, allocations: 55.75 kB / 415.1 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.02139, allocations: 4 kB / 415.1 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004674/0.02606, allocations: 4.389 MB / 419.5 MB, free: 11.24 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.02608, allocations: 15.92 kB / 419.5 MB, free: 11.22 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.02615, allocations: 47.86 kB / 419.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003479/0.02963, allocations: 2.595 MB / 422.2 MB, free: 8.574 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.02963, allocations: 3.984 kB / 422.2 MB, free: 8.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.02963, allocations: 0 / 422.2 MB, free: 8.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.02964, allocations: 0 / 422.2 MB, free: 8.57 MB / 394.7 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.001137/0.03077, allocations: 0.6084 MB / 422.8 MB, free: 7.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.03081, allocations: 8.625 kB / 422.8 MB, free: 7.922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.886e-05/0.03091, allocations: 35.88 kB / 422.8 MB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.03103, allocations: 140.9 kB / 423 MB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.03104, allocations: 0 / 423 MB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.03105, allocations: 7.938 kB / 423 MB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.03126, allocations: 170.9 kB / 423.1 MB, free: 7.539 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.03127, allocations: 3.984 kB / 423.1 MB, free: 7.535 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.03128, allocations: 4 kB / 423.1 MB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.03129, allocations: 4 kB / 423.2 MB, free: 7.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.0315, allocations: 196.2 kB / 423.3 MB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.03168, allocations: 202.4 kB / 423.5 MB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.03185, allocations: 150.7 kB / 423.7 MB, free: 6.953 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.03198, allocations: 141.1 kB / 423.8 MB, free: 6.812 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00827/0.04025, allocations: 3.637 MB / 427.5 MB, free: 3.168 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.04028, allocations: 38.5 kB / 427.5 MB, free: 3.121 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 2.595e-06/0.04028, allocations: 4 kB / 427.5 MB, free: 3.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005737/0.04085, allocations: 465.5 kB / 428 MB, free: 2.656 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.04089, allocations: 55.41 kB / 428 MB, free: 2.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.426e-05/0.04098, allocations: 129.8 kB / 428.1 MB, free: 2.453 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.04099, allocations: 25.7 kB / 428.2 MB, free: 2.422 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.04103, allocations: 84.8 kB / 428.2 MB, free: 2.336 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.872e-05/0.0411, allocations: 119 kB / 428.4 MB, free: 2.219 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.04115, allocations: 33.7 kB / 428.4 MB, free: 2.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.573e-05/0.04123, allocations: 334.7 kB / 428.7 MB, free: 1.844 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.04137, allocations: 123.9 kB / 428.8 MB, free: 1.723 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.04149, allocations: 123.9 kB / 429 MB, free: 1.602 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.04176, allocations: 319.8 kB / 429.3 MB, free: 1.285 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.04176, allocations: 0 / 429.3 MB, free: 1.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003332/0.04209, allocations: 339.6 kB / 429.6 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.04212, allocations: 8 kB / 429.6 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.04213, allocations: 3.984 kB / 429.6 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.04215, allocations: 0 / 429.6 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.69e-05/0.04223, allocations: 23.98 kB / 429.6 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.04224, allocations: 0 / 429.6 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.04231, allocations: 27.77 kB / 429.7 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.04232, allocations: 4 kB / 429.7 MB, free: 0.8828 MB / 394.7 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 8.748e-05/0.04241, allocations: 121.7 kB / 429.8 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.04243, allocations: 19.89 kB / 429.8 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.04282, allocations: 381.1 kB / 430.2 MB, free: 364 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.04283, allocations: 4 kB / 430.2 MB, free: 360 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.04284, allocations: 0 / 430.2 MB, free: 360 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.04284, allocations: 7.922 kB / 430.2 MB, free: 352 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.04298, allocations: 209.7 kB / 430.4 MB, free: 112 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.04298, allocations: 0 / 430.4 MB, free: 112 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.04303, allocations: 15.98 kB / 430.4 MB, free: 96 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.04303, allocations: 4 kB / 430.4 MB, free: 92 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.04304, allocations: 4 kB / 430.4 MB, free: 88 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.04304, allocations: 4 kB / 430.4 MB, free: 84 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.04304, allocations: 3.938 kB / 430.4 MB, free: 80 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.04339, allocations: 387 kB / 430.8 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.04342, allocations: 23.83 kB / 430.8 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.04344, allocations: 0 / 430.8 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.676e-05/0.04348, allocations: 11.98 kB / 430.8 MB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.04352, allocations: 15.98 kB / 430.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.04353, allocations: 0 / 430.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.909e-05/0.04358, allocations: 105.2 kB / 431 MB, free: 15.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04358, allocations: 3.938 kB / 431 MB, free: 15.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001085/0.04466, allocations: 490.6 kB / 431.4 MB, free: 15.04 MB / 410.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: 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.001654/0.04632, allocations: 0.7712 MB / 432.2 MB, free: 14.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003519/0.04667, allocations: 267.9 kB / 432.5 MB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.04667, allocations: 3.938 kB / 432.5 MB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.0468, allocations: 136.4 kB / 432.6 MB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.0471, allocations: 71.95 kB / 432.7 MB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.04761, allocations: 404.1 kB / 433.1 MB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.971e-05/0.04767, allocations: 98.36 kB / 433.2 MB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.0477, allocations: 12.5 kB / 433.2 MB, free: 13.23 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.04771, allocations: 8 kB / 433.2 MB, free: 13.23 MB / 410.7 MB Notification: Performance of Templates: time 0.01367/0.06138, allocations: 12.68 MB / 445.9 MB, free: 0.5391 MB / 410.7 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 -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/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_' 6285 | f_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); | ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopFunctions.cpp:6286:25: error: use of undeclared identifier 'MM_' 6286 | 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_' 6345 | f_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); | ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopFunctions.cpp:6346:25: error: use of undeclared identifier 'MM_' 6346 | 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: 2.5459849927574396] Failed to read output from testmodel.py, exit status != 0: 0.21046728920191526 0.219768398 0.188381201 Calling exit ...