Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 88.5 kB / 17.63 MB, free: 5.715 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.001487/0.001487, allocations: 190.5 kB / 18.53 MB, free: 5.16 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.554/1.554, allocations: 223.2 MB / 242.5 MB, free: 324 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.2486/0.2486, allocations: 44.23 MB / 337.9 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003592, allocations: 6 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.156, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003381/0.1595, allocations: 1.951 MB / 474.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1609, allocations: 0.5886 MB / 474.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.161, allocations: 4 kB / 474.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.65e-05/0.1611, allocations: 27.77 kB / 474.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.1613, allocations: 55.53 kB / 474.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.1616, allocations: 71.92 kB / 474.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004434/0.162, allocations: 319.2 kB / 475.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000334/0.1624, allocations: 114.8 kB / 475.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.1626, allocations: 107.6 kB / 475.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.1629, allocations: 127.5 kB / 475.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.864e-05/0.163, allocations: 16 kB / 475.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.046e-05/0.163, allocations: 20 kB / 475.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.1631, allocations: 51.81 kB / 475.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.388e-05/0.1632, allocations: 77.52 kB / 475.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.1636, allocations: 275.5 kB / 476 MB, free: 9.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1636, allocations: 0 / 476 MB, free: 9.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1636, allocations: 0 / 476 MB, free: 9.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.1636, allocations: 0 / 476 MB, free: 9.938 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001067/0.1647, allocations: 0.5342 MB / 476.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.1647, allocations: 8.031 kB / 476.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.749e-05/0.1648, allocations: 35.56 kB / 476.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.1651, allocations: 206.6 kB / 476.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.1652, allocations: 24.66 kB / 476.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.1653, allocations: 35.95 kB / 476.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00066/0.1659, allocations: 278.1 kB / 477.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.166, allocations: 0 / 477.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.166, allocations: 12 kB / 477.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.1661, allocations: 8 kB / 477.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005885/0.1666, allocations: 218.5 kB / 477.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/0.169, allocations: 1.021 MB / 478.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.863e-05/0.1691, allocations: 34.53 kB / 478.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.1691, allocations: 28.86 kB / 478.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.1691, allocations: 0 / 478.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.1692, allocations: 38.48 kB / 478.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1692, allocations: 0 / 478.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000209/0.1694, allocations: 77.42 kB / 478.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.1694, allocations: 51.41 kB / 478.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.1698, allocations: 322.8 kB / 478.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.1698, allocations: 25.7 kB / 478.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.17, allocations: 230.8 kB / 479.1 MB, free: 6.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.11e-05/0.17, allocations: 7.906 kB / 479.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.17, allocations: 8 kB / 479.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1702, allocations: 334.9 kB / 479.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1703, allocations: 63.97 kB / 479.5 MB, free: 6.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.1705, allocations: 98.61 kB / 479.6 MB, free: 6.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.1706, allocations: 76.5 kB / 479.7 MB, free: 5.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1706, allocations: 0 / 479.7 MB, free: 5.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003819/0.171, allocations: 233.4 kB / 479.9 MB, free: 5.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1711, allocations: 10.53 kB / 479.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1711, allocations: 0 / 479.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1711, allocations: 4 kB / 479.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.1714, allocations: 51.91 kB / 480 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1714, allocations: 0 / 480 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.1716, allocations: 47.52 kB / 480 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.1716, allocations: 8 kB / 480 MB, free: 5.629 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.1717, allocations: 130.3 kB / 480.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.1718, allocations: 31.67 kB / 480.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.1719, allocations: 24.84 kB / 480.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1719, allocations: 4 kB / 480.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.1719, allocations: 0 / 480.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1719, allocations: 0 / 480.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005774/0.1725, allocations: 0.5072 MB / 480.7 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1725, allocations: 7.938 kB / 480.7 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/0.1725, allocations: 4.062 kB / 480.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1725, allocations: 7.938 kB / 480.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.1725, allocations: 0 / 480.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1725, allocations: 0 / 480.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1725, allocations: 0 / 480.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.1727, allocations: 105.6 kB / 480.9 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.776e-05/0.1728, allocations: 100.8 kB / 481 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.1728, allocations: 4.031 kB / 481 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.747e-05/0.1729, allocations: 7.984 kB / 481 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.1729, allocations: 4 kB / 481 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.1729, allocations: 4 kB / 481 MB, free: 4.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002449/0.1732, allocations: 225.9 kB / 481.2 MB, free: 4.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1732, allocations: 0 / 481.2 MB, free: 4.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.1735, allocations: 63.84 kB / 481.3 MB, free: 4.301 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001095/0.1736, allocations: 99.19 kB / 481.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.1739, allocations: 123.8 kB / 481.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1739, allocations: 0 / 481.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.168e-05/0.1739, allocations: 8 kB / 481.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.1742, allocations: 23.08 kB / 481.5 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007277/0.175, allocations: 478.2 kB / 482 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.1754, allocations: 0.7482 MB / 482.7 MB, free: 2.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.1754, allocations: 19.44 kB / 482.7 MB, free: 2.742 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1754, allocations: 0 / 482.7 MB, free: 2.742 MB / 350.1 MB Notification: Performance of Templates: time 0.004843/0.1803, allocations: 2.668 MB / 485.4 MB, free: 76 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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.FluxTubes.Shapes.LeakageCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.LeakageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.LeakageCalcHelperMain.o] Error 1