Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.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.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008015/0.000802, allocations: 92.67 kB / 17.63 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008833/0.0008835, allocations: 198.9 kB / 18.54 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2382/0.2382, allocations: 45.92 MB / 344.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003972, allocations: 15.94 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.205, allocations: 63.45 MB / 482.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004605/0.2097, allocations: 2.261 MB / 484.4 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.2116, allocations: 0.7327 MB / 485.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.2118, allocations: 11.94 kB / 485.1 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.212, allocations: 47.61 kB / 485.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.2124, allocations: 91.64 kB / 485.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.2128, allocations: 83.92 kB / 485.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005626/0.2133, allocations: 374.5 kB / 485.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003353/0.2137, allocations: 108.1 kB / 485.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.214, allocations: 123.5 kB / 485.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.2142, allocations: 143.3 kB / 486.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.151e-05/0.2143, allocations: 16 kB / 486.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.935e-05/0.2144, allocations: 20 kB / 486.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.368e-05/0.2145, allocations: 59.77 kB / 486.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.2146, allocations: 93.45 kB / 486.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.2151, allocations: 315.1 kB / 486.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2151, allocations: 0 / 486.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.342e-06/0.2151, allocations: 0 / 486.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.2151, allocations: 3.938 kB / 486.6 MB, free: 0.9453 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001464/0.2166, allocations: 0.6199 MB / 487.2 MB, free: 284 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.2167, allocations: 8.031 kB / 487.2 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.2168, allocations: 43.44 kB / 487.2 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.2173, allocations: 277.4 kB / 487.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.2173, allocations: 25 kB / 487.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.2174, allocations: 39.94 kB / 487.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.2185, allocations: 366.6 kB / 487.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.2185, allocations: 0 / 487.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.871e-05/0.2186, allocations: 16 kB / 487.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.2186, allocations: 8 kB / 488 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009736/0.2196, allocations: 295.6 kB / 488.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003166/0.2228, allocations: 1.355 MB / 489.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007329/0.2235, allocations: 206.6 kB / 489.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/0.2239, allocations: 91.56 kB / 489.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.499e-05/0.2239, allocations: 7.984 kB / 489.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.243e-05/0.224, allocations: 42.5 kB / 489.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 2.554e-06/0.224, allocations: 0 / 489.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.001218/0.2253, allocations: 277.2 kB / 490.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.2254, allocations: 132.5 kB / 490.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005955/0.226, allocations: 345.6 kB / 490.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.2261, allocations: 25.7 kB / 490.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.2264, allocations: 247.6 kB / 490.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.89e-05/0.2265, allocations: 51.27 kB / 491 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.2265, allocations: 4 kB / 491 MB, free: 12.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002759/0.2268, allocations: 342.8 kB / 491.3 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.2272, allocations: 88.52 kB / 491.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005133/0.2277, allocations: 180.2 kB / 491.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/0.2281, allocations: 115.8 kB / 491.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2281, allocations: 0 / 491.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009486/0.2291, allocations: 325.6 kB / 492 MB, free: 11.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.2291, allocations: 11.94 kB / 492 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.2291, allocations: 7.938 kB / 492 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.2292, allocations: 4.281 kB / 492.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/0.2297, allocations: 112 kB / 492.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.2298, allocations: 4 kB / 492.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.2301, allocations: 51.61 kB / 492.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.2302, allocations: 12 kB / 492.2 MB, free: 10.92 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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.0002373/0.2304, allocations: 149.7 kB / 492.4 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.2306, allocations: 35.61 kB / 492.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.087e-05/0.2307, allocations: 38.39 kB / 492.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.2307, allocations: 4 kB / 492.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.2307, allocations: 0 / 492.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2308, allocations: 0 / 492.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.232, allocations: 0.5953 MB / 493 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.232, allocations: 4.156 kB / 493 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003685/0.2324, allocations: 75.88 kB / 493.1 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.2324, allocations: 4 kB / 493.1 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.2324, allocations: 3.938 kB / 493.1 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.2324, allocations: 8 kB / 493.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2324, allocations: 0 / 493.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000768/0.2332, allocations: 422.5 kB / 493.6 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.2333, allocations: 112.7 kB / 493.7 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.2334, allocations: 4 kB / 493.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.2337, allocations: 19.98 kB / 493.7 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.2338, allocations: 15.94 kB / 493.7 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.2338, allocations: 11.94 kB / 493.7 MB, free: 9.293 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003375/0.2342, allocations: 239.2 kB / 493.9 MB, free: 9.066 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2342, allocations: 0 / 493.9 MB, free: 9.066 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000625/0.2348, allocations: 71.84 kB / 494 MB, free: 8.996 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * 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.0001644/0.235, allocations: 91.78 kB / 494.1 MB, free: 8.895 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007369/0.2357, allocations: 211.6 kB / 494.3 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2357, allocations: 0 / 494.3 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.236, allocations: 100.4 kB / 494.4 MB, free: 8.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007038/0.2368, allocations: 21.44 kB / 494.4 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.2383, allocations: 0.6958 MB / 495.1 MB, free: 7.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000702/0.2391, allocations: 0.7793 MB / 495.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.2392, allocations: 23.44 kB / 495.9 MB, free: 7 MB / 366.1 MB Notification: Performance of SimCode: time 1.373e-06/0.2392, allocations: 4 kB / 495.9 MB, free: 6.996 MB / 366.1 MB Notification: Performance of Templates: time 0.008154/0.2474, allocations: 3.146 MB / 499.1 MB, free: 3.844 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.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.SourcesCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.SourcesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.SourcesCalcHelperMain.o] Error 1