Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 102 kB / 16.52 MB, free: 6.668 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.001813/0.001813, allocations: 198.8 kB / 17.44 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.895/1.895, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2286/0.2286, allocations: 43.53 MB / 314.2 MB, free: 0.7539 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 71.25 kB / 382.7 MB, free: 56.9 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1495, allocations: 57.79 MB / 440.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005575/0.1551, allocations: 5.254 MB / 445.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.1581, allocations: 1.609 MB / 447.3 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003833/0.1585, allocations: 16 kB / 447.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003247/0.1618, allocations: 1.51 MB / 448.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.1628, allocations: 254.4 kB / 449.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.1644, allocations: 0.6503 MB / 449.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.1654, allocations: 0.7619 MB / 450.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.1665, allocations: 0.6765 MB / 451.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003935/0.1669, allocations: 310.8 kB / 451.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005042/0.1674, allocations: 462.1 kB / 452 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.563e-05/0.1675, allocations: 60 kB / 452 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005047/0.168, allocations: 163.9 kB / 452.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.1682, allocations: 163.3 kB / 452.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004314/0.1686, allocations: 409.9 kB / 452.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009395/0.1695, allocations: 0.9078 MB / 453.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1696, allocations: 0 / 453.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1696, allocations: 0 / 453.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.1696, allocations: 0 / 453.6 MB, free: 10.27 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003405/0.173, allocations: 1.346 MB / 455 MB, free: 8.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.1731, allocations: 16.02 kB / 455 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.1745, allocations: 219.8 kB / 455.2 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.1748, allocations: 263.7 kB / 455.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.1749, allocations: 78.56 kB / 455.6 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.1751, allocations: 107.9 kB / 455.7 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.1767, allocations: 0.9282 MB / 456.6 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.1767, allocations: 7.906 kB / 456.6 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.512e-05/0.1768, allocations: 40 kB / 456.6 MB, free: 7.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.1769, allocations: 24 kB / 456.7 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.1782, allocations: 0.7262 MB / 457.4 MB, free: 6.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005071/0.1832, allocations: 3.936 MB / 461.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003608/0.1869, allocations: 3.375 MB / 464.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005301/0.1875, allocations: 301 kB / 465 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.1877, allocations: 93.42 kB / 465.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.701e-05/0.1877, allocations: 42.89 kB / 465.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 1.019e-05/0.1878, allocations: 0 / 465.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.003089/0.1908, allocations: 1.333 MB / 466.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.779e-05/0.1909, allocations: 136.5 kB / 466.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.1914, allocations: 318.8 kB / 466.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.1915, allocations: 37.7 kB / 466.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.1918, allocations: 398.4 kB / 467.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.192, allocations: 228.7 kB / 467.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.1922, allocations: 150.4 kB / 467.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.1924, allocations: 358.7 kB / 468 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.1928, allocations: 197.9 kB / 468.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/0.1933, allocations: 404.6 kB / 468.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008496/0.1941, allocations: 0.6155 MB / 469.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1941, allocations: 0 / 469.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001434/0.1956, allocations: 0.8853 MB / 470.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1956, allocations: 4 kB / 470.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.1956, allocations: 8 kB / 470.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006521/0.1963, allocations: 223.4 kB / 470.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.1968, allocations: 139.8 kB / 470.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006111/0.2029, allocations: 6.236 MB / 476.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006223/0.2036, allocations: 83.11 kB / 476.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.183e-05/0.2036, allocations: 35.94 kB / 476.9 MB, free: 1.043 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004452/0.2041, allocations: 228.1 kB / 477.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.2043, allocations: 39.53 kB / 477.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.2057, allocations: 0.6917 MB / 477.8 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.2057, allocations: 4 kB / 477.8 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.2057, allocations: 12 kB / 477.8 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.2057, allocations: 7.922 kB / 477.8 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/0.2085, allocations: 1.581 MB / 479.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2085, allocations: 0 / 479.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.2087, allocations: 67.92 kB / 479.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005864/0.2093, allocations: 219.5 kB / 479.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.2094, allocations: 12 kB / 479.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005942/0.2153, allocations: 6.229 MB / 485.9 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2154, allocations: 0 / 485.9 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.2172, allocations: 1.186 MB / 487.1 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.2175, allocations: 120.5 kB / 487.2 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.981e-05/0.2175, allocations: 15.98 kB / 487.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/0.2179, allocations: 23.88 kB / 487.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.2181, allocations: 55.86 kB / 487.3 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.2181, allocations: 16 kB / 487.3 MB, free: 5.852 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003365/0.2185, allocations: 214 kB / 487.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2185, allocations: 0 / 487.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001295/0.2198, allocations: 279.1 kB / 487.8 MB, free: 5.371 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003211/0.2201, allocations: 143.1 kB / 488 MB, free: 5.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.222, allocations: 1.072 MB / 489 MB, free: 4.098 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.2221, allocations: 0 / 489 MB, free: 4.098 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009838/0.2231, allocations: 0.784 MB / 489.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008391/0.2239, allocations: 36.56 kB / 489.9 MB, free: 3.227 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.227, allocations: 1.64 MB / 491.5 MB, free: 1.547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007112/0.2277, allocations: 0.9072 MB / 492.4 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.2279, allocations: 51.42 kB / 492.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of SimCode: time 1.463e-06/0.2279, allocations: 0 / 492.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of Templates: time 0.02404/0.2519, allocations: 19.36 MB / 0.4998 GB, free: 13.18 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakageCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakageCalcHelperMain.o] Error 1