Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008669/0.000867, allocations: 93.03 kB / 17.63 MB, free: 6.156 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.0008242/0.0008243, allocations: 181.8 kB / 18.52 MB, free: 5.32 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.476/1.476, allocations: 223.2 MB / 242.5 MB, free: 14.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.234/0.234, allocations: 44.21 MB / 337.9 MB, free: 2.566 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.000338, allocations: 8 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1469, allocations: 61.92 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002173/0.1491, allocations: 1.387 MB / 473.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001717/0.1493, allocations: 91.64 kB / 473.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.765e-05/0.1493, allocations: 0 / 473.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.477e-05/0.1494, allocations: 11.92 kB / 473.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.901e-05/0.1495, allocations: 11.86 kB / 473.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.1496, allocations: 27.97 kB / 473.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.1497, allocations: 103.5 kB / 473.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.1499, allocations: 39.81 kB / 473.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.829e-05/0.15, allocations: 31.92 kB / 473.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.864e-05/0.15, allocations: 47.77 kB / 473.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.1501, allocations: 4 kB / 473.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.425e-05/0.1501, allocations: 11.94 kB / 473.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.1501, allocations: 7.984 kB / 474 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.1502, allocations: 49.64 kB / 474 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.1503, allocations: 84.03 kB / 474.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1503, allocations: 0 / 474.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1503, allocations: 0 / 474.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1503, allocations: 0 / 474.1 MB, free: 11.8 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000612/0.151, allocations: 417.3 kB / 474.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.151, allocations: 8.031 kB / 474.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.151, allocations: 7.906 kB / 474.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.1512, allocations: 178.9 kB / 474.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1512, allocations: 8 kB / 474.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.1512, allocations: 11.95 kB / 474.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.1516, allocations: 133.6 kB / 474.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1516, allocations: 0 / 474.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.1517, allocations: 4 kB / 474.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.1517, allocations: 7.938 kB / 474.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.1521, allocations: 127.8 kB / 475 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008201/0.1529, allocations: 483.3 kB / 475.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.1531, allocations: 94.53 kB / 475.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.1534, allocations: 68.94 kB / 475.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.1534, allocations: 11.98 kB / 475.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1534, allocations: 38.45 kB / 475.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.1534, allocations: 0 / 475.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009491/0.1544, allocations: 299.4 kB / 475.9 MB, free: 9.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.1544, allocations: 51.41 kB / 476 MB, free: 9.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.1545, allocations: 125.8 kB / 476.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1546, allocations: 29.64 kB / 476.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.1546, allocations: 104.1 kB / 476.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.1547, allocations: 23.7 kB / 476.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.1547, allocations: 0 / 476.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1548, allocations: 318.8 kB / 476.6 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.155, allocations: 51.95 kB / 476.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.1552, allocations: 74.41 kB / 476.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.1553, allocations: 51.97 kB / 476.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.1553, allocations: 3.953 kB / 476.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004043/0.1557, allocations: 158.4 kB / 476.9 MB, free: 8.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.1558, allocations: 10.5 kB / 476.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1558, allocations: 0 / 476.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/0.1559, allocations: 28.78 kB / 476.9 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.1561, allocations: 24.05 kB / 477 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.1572, allocations: 1.308 MB / 478.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.1573, allocations: 27.95 kB / 478.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1573, allocations: 3.953 kB / 478.3 MB, free: 7.168 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.823e-05/0.1574, allocations: 117.8 kB / 478.4 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.1574, allocations: 3.984 kB / 478.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/0.1575, allocations: 12.38 kB / 478.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.1575, allocations: 0 / 478.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1575, allocations: 0 / 478.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1575, allocations: 0 / 478.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006516/0.1581, allocations: 452 kB / 478.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1581, allocations: 0 / 478.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.28e-05/0.1582, allocations: 19.98 kB / 478.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.395e-05/0.1583, allocations: 20.84 kB / 478.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.1583, allocations: 11.95 kB / 478.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009487/0.1593, allocations: 1.308 MB / 480.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.1593, allocations: 0 / 480.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.1598, allocations: 265.1 kB / 480.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.1598, allocations: 85.14 kB / 480.6 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.1598, allocations: 7.984 kB / 480.6 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.16, allocations: 19.98 kB / 480.6 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.16, allocations: 7.984 kB / 480.6 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.16, allocations: 4 kB / 480.6 MB, free: 4.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.178e-05/0.1601, allocations: 99.7 kB / 480.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1601, allocations: 0 / 480.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.1604, allocations: 20 kB / 480.7 MB, free: 4.488 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 (4): * Single equations (assignments): 3 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001165/0.1605, allocations: 99.12 kB / 480.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005045/0.161, allocations: 230.5 kB / 481.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.161, allocations: 0 / 481.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.1613, allocations: 174.7 kB / 481.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.1616, allocations: 12.28 kB / 481.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004999/0.1621, allocations: 288.6 kB / 481.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.1624, allocations: 0.7043 MB / 482.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.1625, allocations: 7.438 kB / 482.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of SimCode: time 1.543e-06/0.1625, allocations: 0 / 482.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of Templates: time 0.00347/0.166, allocations: 1.575 MB / 483.8 MB, free: 1.312 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.VariableComponentsCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponentsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponentsCalcHelperMain.o] Error 1