Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001124, allocations: 97.53 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001373, allocations: 198.8 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.639/1.639, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002269/0.0002269, allocations: 7.984 kB / 307.3 MB, free: 1.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1217, allocations: 51.48 MB / 358.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003043/0.1248, allocations: 2.381 MB / 361.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.1267, allocations: 1.095 MB / 362.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.1269, allocations: 11.94 kB / 362.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.1272, allocations: 95.58 kB / 362.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.1275, allocations: 115.3 kB / 362.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.1286, allocations: 0.5332 MB / 363 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003665/0.129, allocations: 270.7 kB / 363.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009691/0.13, allocations: 0.5337 MB / 363.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.1302, allocations: 103.6 kB / 363.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.1304, allocations: 143.5 kB / 364.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.1304, allocations: 12 kB / 364.1 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003721/0.1308, allocations: 167.8 kB / 364.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.22e-05/0.1309, allocations: 47.83 kB / 364.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.531e-05/0.1309, allocations: 77.52 kB / 364.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004435/0.1314, allocations: 371.3 kB / 364.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1314, allocations: 0 / 364.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1314, allocations: 0 / 364.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1314, allocations: 0 / 364.7 MB, free: 8.188 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001464/0.1329, allocations: 0.6812 MB / 365.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1329, allocations: 12.03 kB / 365.4 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007757/0.1337, allocations: 115.5 kB / 365.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.1341, allocations: 259.2 kB / 365.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.1341, allocations: 20.66 kB / 365.8 MB, free: 7.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/0.1342, allocations: 39.95 kB / 365.8 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005477/0.1347, allocations: 325.1 kB / 366.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.1347, allocations: 7.984 kB / 366.2 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.1348, allocations: 12 kB / 366.2 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.1348, allocations: 8 kB / 366.2 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.1352, allocations: 238.5 kB / 366.4 MB, free: 6.395 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/0.1372, allocations: 1.447 MB / 367.9 MB, free: 4.805 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007108/0.1379, allocations: 0.6996 MB / 368.6 MB, free: 3.988 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.1381, allocations: 100.8 kB / 368.7 MB, free: 3.887 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/0.1383, allocations: 166.2 kB / 368.8 MB, free: 3.688 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.1383, allocations: 38.97 kB / 368.9 MB, free: 3.641 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.723e-06/0.1384, allocations: 8 kB / 368.9 MB, free: 3.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001172/0.1395, allocations: 0.4902 MB / 369.4 MB, free: 3.117 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.1396, allocations: 59.36 kB / 369.4 MB, free: 3.047 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.1398, allocations: 173.1 kB / 369.6 MB, free: 2.867 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.1398, allocations: 37.69 kB / 369.6 MB, free: 2.824 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.1399, allocations: 175.9 kB / 369.8 MB, free: 2.645 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.345e-05/0.14, allocations: 78.91 kB / 369.9 MB, free: 2.566 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/0.14, allocations: 4 kB / 369.9 MB, free: 2.562 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.1402, allocations: 334.8 kB / 370.2 MB, free: 2.227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.1404, allocations: 64.53 kB / 370.3 MB, free: 2.164 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.1405, allocations: 125 kB / 370.4 MB, free: 2.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.1407, allocations: 94.05 kB / 370.5 MB, free: 1.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1407, allocations: 0 / 370.5 MB, free: 1.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005672/0.1413, allocations: 328 kB / 370.8 MB, free: 1.602 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.1413, allocations: 4 kB / 370.8 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1413, allocations: 4 kB / 370.8 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003482/0.1417, allocations: 72.8 kB / 370.9 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1419, allocations: 47.92 kB / 370.9 MB, free: 1.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.278/0.4199, allocations: 1.826 MB / 372.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.4201, allocations: 23.7 kB / 372.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.4202, allocations: 12.19 kB / 372.8 MB, free: 18.39 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002343/0.4204, allocations: 151.7 kB / 372.9 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.4205, allocations: 17.98 kB / 373 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006838/0.4212, allocations: 287 kB / 373.2 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.433e-06/0.4212, allocations: 3.281 kB / 373.2 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4212, allocations: 4.406 kB / 373.2 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4212, allocations: 1.031 kB / 373.2 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.4223, allocations: 0.6888 MB / 373.9 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.4223, allocations: 0 / 373.9 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.4225, allocations: 26.16 kB / 374 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000269/0.4228, allocations: 70 kB / 374 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.4228, allocations: 5.219 kB / 374 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.4247, allocations: 1.834 MB / 375.9 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4247, allocations: 0.9062 kB / 375.9 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007584/0.4255, allocations: 448.9 kB / 376.3 MB, free: 16.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-05/0.4256, allocations: 112.2 kB / 376.4 MB, free: 16.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.4256, allocations: 6.203 kB / 376.4 MB, free: 16.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4257, allocations: 12.56 kB / 376.4 MB, free: 16.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.4258, allocations: 23.77 kB / 376.5 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.4258, allocations: 4.953 kB / 376.5 MB, free: 16.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.4259, allocations: 126.9 kB / 376.6 MB, free: 16.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4259, allocations: 0 / 376.6 MB, free: 16.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005526/0.4265, allocations: 98.55 kB / 376.7 MB, free: 16.21 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.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 (15): * Single equations (assignments): 14 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002746/0.4268, allocations: 128.7 kB / 376.8 MB, free: 16.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006917/0.4275, allocations: 346.4 kB / 377.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4275, allocations: 3.656 kB / 377.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003859/0.4279, allocations: 247.2 kB / 377.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.4283, allocations: 20.58 kB / 377.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.4294, allocations: 0.7357 MB / 378.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.4297, allocations: 0.7522 MB / 378.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.4298, allocations: 23.03 kB / 378.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4298, allocations: 1.375 kB / 378.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of Templates: time 0.008712/0.4385, allocations: 3.983 MB / 382.9 MB, free: 14.36 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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 OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakageCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakageCalcHelperMain.o] Error 1