Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 85.05 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 186.8 kB / 18.52 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.2 MB / 242.5 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2266/0.2266, allocations: 44.23 MB / 337.9 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003541, allocations: 12 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1562, allocations: 61.92 MB / 472.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005398/0.1617, allocations: 4.514 MB / 476.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003399/0.1651, allocations: 1.449 MB / 478.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004033/0.1656, allocations: 16 kB / 478.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005263/0.1661, allocations: 175 kB / 478.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007659/0.1669, allocations: 254.3 kB / 478.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.1681, allocations: 0.5406 MB / 479.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008463/0.169, allocations: 0.7346 MB / 479.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002455/0.1714, allocations: 1.294 MB / 481.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005172/0.1719, allocations: 282.9 kB / 481.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005393/0.1725, allocations: 394.4 kB / 481.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.835e-05/0.1726, allocations: 36 kB / 481.8 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004396/0.173, allocations: 139.9 kB / 482 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.1732, allocations: 131.5 kB / 482.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.1733, allocations: 173.3 kB / 482.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000907/0.1742, allocations: 0.8921 MB / 483.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.1743, allocations: 0 / 483.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1743, allocations: 0 / 483.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.1743, allocations: 0 / 483.2 MB, free: 2.691 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003027/0.1773, allocations: 1.213 MB / 484.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1774, allocations: 8.031 kB / 484.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.1787, allocations: 230.7 kB / 484.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.1791, allocations: 248.3 kB / 484.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.1793, allocations: 77.98 kB / 484.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.1795, allocations: 111.9 kB / 485 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.1811, allocations: 0.9244 MB / 486 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.1812, allocations: 4 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.895e-05/0.1813, allocations: 36 kB / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.1813, allocations: 24 kB / 486 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.1826, allocations: 0.7285 MB / 486.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00538/0.188, allocations: 3.952 MB / 490.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002719/0.1908, allocations: 3.377 MB / 494.1 MB, free: 6.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004523/0.1912, allocations: 296.6 kB / 494.4 MB, free: 6.379 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.1914, allocations: 93.41 kB / 494.5 MB, free: 6.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.1914, allocations: 46.89 kB / 494.5 MB, free: 6.215 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 3.467e-06/0.1914, allocations: 0 / 494.5 MB, free: 6.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002695/0.1941, allocations: 1.335 MB / 495.9 MB, free: 4.793 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/0.1942, allocations: 148.4 kB / 496 MB, free: 4.617 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.1947, allocations: 318.8 kB / 496.3 MB, free: 4.293 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.1947, allocations: 37.7 kB / 496.3 MB, free: 4.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.195, allocations: 398.4 kB / 496.7 MB, free: 3.852 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.1952, allocations: 228.7 kB / 497 MB, free: 3.625 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.1952, allocations: 12 kB / 497 MB, free: 3.613 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1954, allocations: 350.8 kB / 497.3 MB, free: 3.262 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.1958, allocations: 197.9 kB / 497.5 MB, free: 3.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005581/0.1964, allocations: 400.6 kB / 497.9 MB, free: 2.602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004685/0.1969, allocations: 257.7 kB / 498.1 MB, free: 2.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.1969, allocations: 0 / 498.1 MB, free: 2.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001488/0.1984, allocations: 0.8815 MB / 499 MB, free: 1.449 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.1984, allocations: 12.03 kB / 499 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.1984, allocations: 7.953 kB / 499 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/0.1991, allocations: 223.2 kB / 499.3 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/0.1995, allocations: 139.8 kB / 499.4 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005307/0.2048, allocations: 6.233 MB / 0.4938 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/0.2054, allocations: 87.11 kB / 0.4939 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.251e-05/0.2055, allocations: 32 kB / 0.4939 GB, free: 10.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004139/0.2059, allocations: 225.6 kB / 0.4941 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.206, allocations: 43.53 kB / 0.4942 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.2073, allocations: 0.6909 MB / 0.4948 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.2073, allocations: 8 kB / 0.4948 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.2073, allocations: 7.984 kB / 0.4948 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.2073, allocations: 0 / 0.4948 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.2098, allocations: 1.559 MB / 0.4964 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.2098, allocations: 0 / 0.4964 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.2101, allocations: 67.91 kB / 0.4964 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005054/0.2106, allocations: 219.6 kB / 0.4966 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.415e-05/0.2106, allocations: 15.98 kB / 0.4967 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005499/0.2161, allocations: 6.221 MB / 0.5027 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.2162, allocations: 8.016 kB / 0.5027 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2645/0.4807, allocations: 1.174 MB / 0.5039 GB, free: 46.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.4809, allocations: 131.7 kB / 0.504 GB, free: 46.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/0.4809, allocations: 13.14 kB / 0.504 GB, free: 46.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.4812, allocations: 16.56 kB / 0.504 GB, free: 46.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.4814, allocations: 54.75 kB / 0.5041 GB, free: 46.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.4814, allocations: 17.22 kB / 0.5041 GB, free: 46.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002683/0.4817, allocations: 212.3 kB / 0.5043 GB, free: 46.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4817, allocations: 0 / 0.5043 GB, free: 46.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001064/0.4828, allocations: 276.5 kB / 0.5046 GB, free: 46.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002203/0.483, allocations: 142 kB / 0.5047 GB, free: 46.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.4845, allocations: 1.074 MB / 0.5058 GB, free: 45.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4845, allocations: 0 / 0.5058 GB, free: 45.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008041/0.4853, allocations: 0.785 MB / 0.5065 GB, free: 45.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006031/0.4859, allocations: 47.7 kB / 0.5066 GB, free: 45.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.488, allocations: 1.587 MB / 0.5081 GB, free: 44.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.4885, allocations: 0.9096 MB / 0.509 GB, free: 43.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.4886, allocations: 48.34 kB / 0.5091 GB, free: 43.9 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4886, allocations: 0 / 0.5091 GB, free: 43.9 MB / 382.1 MB Notification: Performance of Templates: time 0.01987/0.5085, allocations: 19.32 MB / 0.5279 GB, free: 35.92 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakageCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakageCalcHelperMain.o] Error 1