Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 105.5 kB / 17.81 MB, free: 5.676 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.002075/0.002075, allocations: 194 kB / 18.72 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.1 MB / 224.6 MB, free: 12.47 MB / 190.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.001248/0.001248, allocations: 43.92 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1463, allocations: 46.63 MB / 327.3 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.009576/0.1559, allocations: 5.188 MB / 332.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004522/0.1605, allocations: 1.71 MB / 334.2 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.1618, allocations: 16 kB / 334.2 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004198/0.1661, allocations: 1.331 MB / 335.5 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.168, allocations: 266.3 kB / 335.8 MB, free: 12.33 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.1704, allocations: 0.7868 MB / 336.6 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.172, allocations: 0.774 MB / 337.3 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.1734, allocations: 0.7112 MB / 338 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004827/0.1739, allocations: 338.6 kB / 338.4 MB, free: 9.711 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000528/0.1744, allocations: 454.1 kB / 338.8 MB, free: 9.266 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.488e-05/0.1745, allocations: 56 kB / 338.9 MB, free: 9.211 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.1756, allocations: 247.8 kB / 339.1 MB, free: 8.969 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.1757, allocations: 159.4 kB / 339.3 MB, free: 8.812 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004807/0.1762, allocations: 405.9 kB / 339.7 MB, free: 8.414 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.1774, allocations: 0.9195 MB / 340.6 MB, free: 7.492 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.858e-06/0.1774, allocations: 0 / 340.6 MB, free: 7.492 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1775, allocations: 0 / 340.6 MB, free: 7.492 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.1775, allocations: 0 / 340.6 MB, free: 7.492 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004354/0.1818, allocations: 1.443 MB / 342 MB, free: 5.996 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.1819, allocations: 12.03 kB / 342 MB, free: 5.984 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.1835, allocations: 251.7 kB / 342.3 MB, free: 5.738 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.1839, allocations: 259.2 kB / 342.5 MB, free: 5.445 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.729e-05/0.1839, allocations: 70.38 kB / 342.6 MB, free: 5.379 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.1841, allocations: 108.3 kB / 342.7 MB, free: 5.273 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.1862, allocations: 0.9383 MB / 343.6 MB, free: 4.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/0.1862, allocations: 7.984 kB / 343.7 MB, free: 4.312 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-05/0.1863, allocations: 36 kB / 343.7 MB, free: 4.277 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.1864, allocations: 24 kB / 343.7 MB, free: 4.254 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.1879, allocations: 0.7808 MB / 344.5 MB, free: 3.477 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00615/0.194, allocations: 3.384 MB / 347.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.1962, allocations: 1.256 MB / 349.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/0.1968, allocations: 377.1 kB / 349.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.1969, allocations: 102.1 kB / 349.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.197, allocations: 43.56 kB / 349.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.474e-06/0.197, allocations: 0 / 349.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002524/0.1995, allocations: 1.308 MB / 351 MB, free: 12.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.1996, allocations: 86.11 kB / 351 MB, free: 12.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/0.2, allocations: 368.3 kB / 351.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.604e-05/0.2001, allocations: 33.7 kB / 351.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.2003, allocations: 386.8 kB / 351.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004578/0.2008, allocations: 295.7 kB / 352.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.2011, allocations: 174.8 kB / 352.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002718/0.2013, allocations: 362.8 kB / 352.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004651/0.2018, allocations: 266.5 kB / 352.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006892/0.2025, allocations: 475.4 kB / 353.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.2037, allocations: 0.7706 MB / 354.1 MB, free: 9.242 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.2037, allocations: 8 kB / 354.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00176/0.2054, allocations: 0.9729 MB / 355.1 MB, free: 8.246 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.2055, allocations: 12 kB / 355.1 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.2055, allocations: 4 kB / 355.1 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003997/0.2059, allocations: 119.4 kB / 355.2 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007716/0.2067, allocations: 211.6 kB / 355.4 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005919/0.2126, allocations: 5.578 MB / 361 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006013/0.2132, allocations: 111 kB / 361.1 MB, free: 1.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/0.2133, allocations: 36 kB / 361.2 MB, free: 1.629 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * 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,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006192/0.2139, allocations: 233.5 kB / 361.4 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.2141, allocations: 51.34 kB / 361.4 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.2157, allocations: 0.852 MB / 362.3 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.2157, allocations: 8 kB / 362.3 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.2157, allocations: 7.938 kB / 362.3 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.2157, allocations: 3.984 kB / 362.3 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002936/0.2187, allocations: 1.933 MB / 364.2 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.2187, allocations: 0 / 364.2 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006332/0.2193, allocations: 139.8 kB / 364.4 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003245/0.2197, allocations: 107.4 kB / 364.5 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.69e-05/0.2197, allocations: 20.03 kB / 364.5 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004218/0.224, allocations: 5.306 MB / 369.8 MB, free: 8.273 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.224, allocations: 7.938 kB / 369.8 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.2259, allocations: 1.268 MB / 371.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.2261, allocations: 144.3 kB / 371.2 MB, free: 6.781 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.714e-05/0.2262, allocations: 23.94 kB / 371.2 MB, free: 6.758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.2265, allocations: 23.98 kB / 371.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.2267, allocations: 64.58 kB / 371.3 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.2267, allocations: 24 kB / 371.4 MB, free: 6.648 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003031/0.227, allocations: 259.2 kB / 371.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.227, allocations: 0 / 371.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00106/0.2281, allocations: 259.4 kB / 371.9 MB, free: 6.141 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (78): * Single equations (assignments): 74 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003378/0.2284, allocations: 151 kB / 372 MB, free: 5.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.2303, allocations: 1.165 MB / 373.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2303, allocations: 0.5 kB / 373.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009276/0.2312, allocations: 0.7952 MB / 374 MB, free: 3.914 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/0.2318, allocations: 57.42 kB / 374 MB, free: 3.859 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.2348, allocations: 1.813 MB / 375.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/0.2355, allocations: 0.9148 MB / 376.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.2357, allocations: 59.44 kB / 376.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2357, allocations: 0 / 376.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of Templates: time 0.3156/0.5513, allocations: 20.9 MB / 397.7 MB, free: 42.92 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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 OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakageCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakageCalcHelperMain.o] Error 1