Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007891/0.0007891, allocations: 87.67 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001005/0.001005, allocations: 196.5 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2765/0.2765, allocations: 45.92 MB / 344.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003214, allocations: 4 kB / 418.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1533, allocations: 63.47 MB / 482.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004441/0.1578, allocations: 3.014 MB / 485.1 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.1599, allocations: 0.7832 MB / 485.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000503/0.1605, allocations: 11.94 kB / 485.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.1608, allocations: 51.61 kB / 486 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005779/0.1614, allocations: 99.14 kB / 486.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005402/0.1619, allocations: 99.84 kB / 486.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009214/0.1629, allocations: 494.4 kB / 486.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004366/0.1633, allocations: 174.7 kB / 486.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004003/0.1637, allocations: 175.3 kB / 487 MB, free: 472 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004463/0.1642, allocations: 195.1 kB / 487.2 MB, free: 276 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.1643, allocations: 24 kB / 487.2 MB, free: 252 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1644, allocations: 24 kB / 487.2 MB, free: 228 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.288e-05/0.1645, allocations: 87.66 kB / 487.3 MB, free: 140 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000221/0.1648, allocations: 113.5 kB / 487.4 MB, free: 20 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006453/0.1654, allocations: 407 kB / 487.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1655, allocations: 4 kB / 487.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1655, allocations: 0 / 487.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.057e-05/0.1655, allocations: 0 / 487.8 MB, free: 15.62 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001511/0.167, allocations: 0.6978 MB / 488.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.1671, allocations: 16.03 kB / 488.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.518e-05/0.1672, allocations: 47.44 kB / 488.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.1676, allocations: 304.2 kB / 488.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/0.1677, allocations: 37 kB / 488.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-05/0.1678, allocations: 48 kB / 489 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008767/0.1687, allocations: 467 kB / 489.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1687, allocations: 0 / 489.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.1687, allocations: 20 kB / 489.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.1688, allocations: 15.98 kB / 489.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006903/0.1695, allocations: 335.8 kB / 489.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002583/0.1721, allocations: 1.686 MB / 491.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005509/0.1726, allocations: 253 kB / 491.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.173, allocations: 146 kB / 491.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.173, allocations: 8 kB / 491.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.173, allocations: 42.56 kB / 491.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.173, allocations: 0 / 491.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.002831/0.1759, allocations: 1.351 MB / 493.3 MB, free: 9.797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.176, allocations: 81.11 kB / 493.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.1762, allocations: 258.6 kB / 493.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.1763, allocations: 33.7 kB / 493.6 MB, free: 9.402 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.1764, allocations: 259.4 kB / 493.9 MB, free: 9.145 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.1766, allocations: 130.2 kB / 494 MB, free: 9.016 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.625e-05/0.1766, allocations: 4 kB / 494 MB, free: 9.012 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1767, allocations: 338.8 kB / 494.4 MB, free: 8.672 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.177, allocations: 108.8 kB / 494.5 MB, free: 8.566 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.1774, allocations: 216.5 kB / 494.7 MB, free: 8.312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/0.1778, allocations: 143.6 kB / 494.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1778, allocations: 4 kB / 494.8 MB, free: 8.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001145/0.179, allocations: 420.3 kB / 495.2 MB, free: 7.754 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.179, allocations: 8 kB / 495.2 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.179, allocations: 4 kB / 495.2 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001845/0.1792, allocations: 32.78 kB / 495.3 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/0.1799, allocations: 120.1 kB / 495.4 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.1814, allocations: 1.331 MB / 496.7 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.1818, allocations: 28.08 kB / 496.7 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.1818, allocations: 15.95 kB / 496.8 MB, free: 6.082 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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 0.0002757/0.1821, allocations: 170.2 kB / 496.9 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.1822, allocations: 31.62 kB / 497 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.1823, allocations: 38.31 kB / 497 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.1824, allocations: 7.984 kB / 497 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1824, allocations: 4 kB / 497 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1824, allocations: 0 / 497 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.1836, allocations: 0.7193 MB / 497.7 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1836, allocations: 4.062 kB / 497.7 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.184, allocations: 87.94 kB / 497.8 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.805e-05/0.1841, allocations: 36.73 kB / 497.9 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.1841, allocations: 8 kB / 497.9 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.1853, allocations: 1.324 MB / 499.2 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1853, allocations: 3.938 kB / 499.2 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009798/0.1863, allocations: 0.6176 MB / 499.8 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.1864, allocations: 128.6 kB / 499.9 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.1865, allocations: 8 kB / 499.9 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.1867, allocations: 19.98 kB / 500 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.1868, allocations: 23.97 kB / 500 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.1868, allocations: 19.98 kB / 0.4883 GB, free: 2.586 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.187, allocations: 185.9 kB / 0.4885 GB, free: 2.406 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.187, allocations: 0 / 0.4885 GB, free: 2.406 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005476/0.1876, allocations: 88 kB / 0.4885 GB, free: 2.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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.0001648/0.1878, allocations: 111.2 kB / 0.4886 GB, free: 2.199 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008781/0.1886, allocations: 406.3 kB / 0.489 GB, free: 1.789 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1887, allocations: 0 / 0.489 GB, free: 1.789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004571/0.1891, allocations: 265.8 kB / 0.4893 GB, free: 1.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.1897, allocations: 57.2 kB / 0.4893 GB, free: 1.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.1917, allocations: 1.157 MB / 0.4905 GB, free: 272 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.1923, allocations: 0.8113 MB / 0.4913 GB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.324e-05/0.1924, allocations: 31.42 kB / 0.4913 GB, free: 15.39 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1924, allocations: 0 / 0.4913 GB, free: 15.39 MB / 382.1 MB Notification: Performance of Templates: time 0.008808/0.2012, allocations: 5.902 MB / 0.4971 GB, free: 9.5 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponentsCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponentsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponentsCalcHelperMain.o] Error 1