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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.MaxwellLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop") translateModel(HelmholtzMedia.Examples.Validation.MaxwellLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009439/0.0009439, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 181.9 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04622/0.04622, allocations: 9.067 MB / 280.5 MB, free: 12.14 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000744/0.000744, allocations: 12.22 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1217, allocations: 49.2 MB / 389.6 MB, free: 8.395 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.02088/0.1427, allocations: 17.24 MB / 406.8 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003273/0.146, allocations: 2.548 MB / 409.4 MB, free: 4.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.158e-05/0.1461, allocations: 0 / 409.4 MB, free: 4.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.1471, allocations: 343.9 kB / 409.7 MB, free: 4.184 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007372/0.1545, allocations: 2.655 MB / 412.4 MB, free: 1.523 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.928e-05/0.1545, allocations: 12 kB / 412.4 MB, free: 1.512 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.1548, allocations: 187 kB / 412.6 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.625e-05/0.1549, allocations: 13.55 kB / 412.6 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.1551, allocations: 87.52 kB / 412.7 MB, free: 1.227 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1552, allocations: 55.72 kB / 412.7 MB, free: 1.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1552, allocations: 4 kB / 412.7 MB, free: 1.168 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009519/0.1647, allocations: 5.839 MB / 418.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.381e-05/0.1648, allocations: 15.91 kB / 418.6 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.165, allocations: 93.25 kB / 418.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002926/0.1679, allocations: 1.443 MB / 420.1 MB, free: 9.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1679, allocations: 0 / 420.1 MB, free: 9.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1679, allocations: 0 / 420.1 MB, free: 9.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.168, allocations: 0 / 420.1 MB, free: 9.758 MB / 318.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.001454/0.1694, allocations: 0.6666 MB / 420.8 MB, free: 9.043 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1695, allocations: 8.031 kB / 420.8 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.1696, allocations: 31.8 kB / 420.8 MB, free: 9.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.1698, allocations: 190.7 kB / 421 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1698, allocations: 4 kB / 421 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.1699, allocations: 8 kB / 421 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.1702, allocations: 167.2 kB / 421.2 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1702, allocations: 0 / 421.2 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1702, allocations: 4 kB / 421.2 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.1703, allocations: 7.984 kB / 421.2 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.1707, allocations: 212.2 kB / 421.4 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.171, allocations: 278.5 kB / 421.7 MB, free: 8.059 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.1713, allocations: 182.8 kB / 421.8 MB, free: 7.871 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.1716, allocations: 177.1 kB / 422 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2354/0.407, allocations: 10.72 MB / 432.7 MB, free: 43.56 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.4071, allocations: 40.34 kB / 432.8 MB, free: 43.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.415e-06/0.4071, allocations: 0 / 432.8 MB, free: 43.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.001166/0.4083, allocations: 489 kB / 433.2 MB, free: 43.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.4083, allocations: 55.7 kB / 433.3 MB, free: 43.42 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.4085, allocations: 133.9 kB / 433.4 MB, free: 43.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.4085, allocations: 28.33 kB / 433.5 MB, free: 43.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.4085, allocations: 91.66 kB / 433.5 MB, free: 43.2 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.199e-05/0.4086, allocations: 111.4 kB / 433.7 MB, free: 43.15 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.4087, allocations: 29.19 kB / 433.7 MB, free: 43.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.4088, allocations: 322.2 kB / 434 MB, free: 42.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.409, allocations: 130.9 kB / 434.1 MB, free: 42.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.4093, allocations: 132.7 kB / 434.3 MB, free: 42.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.4098, allocations: 314.9 kB / 434.6 MB, free: 42.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4098, allocations: 0 / 434.6 MB, free: 42.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005941/0.4104, allocations: 359.8 kB / 434.9 MB, free: 42.72 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.4105, allocations: 8.062 kB / 434.9 MB, free: 42.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4105, allocations: 3.688 kB / 434.9 MB, free: 42.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.4105, allocations: 1.781 kB / 434.9 MB, free: 42.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.4106, allocations: 23.14 kB / 435 MB, free: 42.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4107, allocations: 3.75 kB / 435 MB, free: 42.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.4108, allocations: 36.83 kB / 435 MB, free: 42.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.4108, allocations: 2.812 kB / 435 MB, free: 42.71 MB / 318.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.912e-05/0.4109, allocations: 117.6 kB / 435.1 MB, free: 42.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.4109, allocations: 13.5 kB / 435.1 MB, free: 42.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007598/0.4117, allocations: 385.7 kB / 435.5 MB, free: 42.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.4117, allocations: 7.422 kB / 435.5 MB, free: 42.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4117, allocations: 2.156 kB / 435.5 MB, free: 42.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.4118, allocations: 9.422 kB / 435.5 MB, free: 42.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.412, allocations: 267.1 kB / 435.8 MB, free: 42.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.412, allocations: 0 / 435.8 MB, free: 42.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.4122, allocations: 23.97 kB / 435.8 MB, free: 42.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.4122, allocations: 4.328 kB / 435.8 MB, free: 42.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.4122, allocations: 2.375 kB / 435.8 MB, free: 42.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.4122, allocations: 1.891 kB / 435.8 MB, free: 42.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4122, allocations: 3.984 kB / 435.8 MB, free: 42.31 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006882/0.4129, allocations: 399.2 kB / 436.2 MB, free: 42.21 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/0.413, allocations: 101.4 kB / 436.3 MB, free: 42.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.413, allocations: 1.812 kB / 436.3 MB, free: 42.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.4131, allocations: 16.77 kB / 436.3 MB, free: 42.11 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.4132, allocations: 10.36 kB / 436.3 MB, free: 42.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.4132, allocations: 2.828 kB / 436.3 MB, free: 42.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.601e-05/0.4133, allocations: 99.88 kB / 436.4 MB, free: 42.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4133, allocations: 0 / 436.4 MB, free: 42.03 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001775/0.415, allocations: 490.4 kB / 436.9 MB, free: 42.01 MB / 318.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.002434/0.4175, allocations: 0.7091 MB / 437.6 MB, free: 41.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006573/0.4182, allocations: 332.5 kB / 437.9 MB, free: 41.72 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4182, allocations: 4 kB / 438 MB, free: 41.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002732/0.4184, allocations: 172.7 kB / 438.1 MB, free: 41.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.419, allocations: 66.42 kB / 438.2 MB, free: 41.63 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007659/0.4197, allocations: 488.3 kB / 438.7 MB, free: 41.31 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.42, allocations: 0.7186 MB / 439.4 MB, free: 40.61 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.42, allocations: 12.97 kB / 439.4 MB, free: 40.61 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.42, allocations: 0 / 439.4 MB, free: 40.61 MB / 318.1 MB Notification: Performance of Templates: time 0.02618/0.4462, allocations: 12.57 MB / 452 MB, free: 33.25 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.makefile clang++ -std=c++14 NOTFOUND -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 clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopCalcHelperMain.o] Error 1