Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001089/0.001089, allocations: 95.39 kB / 16.95 MB, free: 5.953 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.001283/0.001283, allocations: 181.5 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 223.2 MB / 241.9 MB, free: 332 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.000318, allocations: 12.83 kB / 301.5 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1355, allocations: 50.42 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005919/0.1415, allocations: 4.467 MB / 356.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004008/0.1455, allocations: 1.527 MB / 357.9 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008111/0.1464, allocations: 16 kB / 357.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008873/0.1473, allocations: 198.9 kB / 358.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.1487, allocations: 262.3 kB / 358.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.1505, allocations: 0.6615 MB / 359 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001454/0.152, allocations: 0.7429 MB / 359.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003404/0.1554, allocations: 1.356 MB / 361.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007338/0.1562, allocations: 282.8 kB / 361.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007805/0.1569, allocations: 390.4 kB / 361.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.1571, allocations: 36 kB / 361.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007735/0.1579, allocations: 207.8 kB / 362 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.1581, allocations: 127.4 kB / 362.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002431/0.1583, allocations: 169.3 kB / 362.3 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.1593, allocations: 0.9116 MB / 363.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1594, allocations: 0 / 363.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1594, allocations: 0 / 363.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1594, allocations: 3.938 kB / 363.2 MB, free: 8.621 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003662/0.1631, allocations: 1.283 MB / 364.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.1631, allocations: 12.02 kB / 364.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/0.1647, allocations: 258.8 kB / 364.7 MB, free: 7.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.165, allocations: 250 kB / 365 MB, free: 6.734 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/0.1651, allocations: 70 kB / 365.1 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.1653, allocations: 99.91 kB / 365.2 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.1669, allocations: 0.9382 MB / 366.1 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.167, allocations: 3.984 kB / 366.1 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.057e-05/0.1671, allocations: 40 kB / 366.1 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.1671, allocations: 24 kB / 366.2 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.1684, allocations: 0.7731 MB / 366.9 MB, free: 4.781 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005611/0.1741, allocations: 3.412 MB / 370.3 MB, free: 1.184 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2197/0.3938, allocations: 1.238 MB / 371.6 MB, free: 23.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009632/0.3948, allocations: 369.8 kB / 371.9 MB, free: 23.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.395, allocations: 104.2 kB / 372 MB, free: 23.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.395, allocations: 43.48 kB / 372.1 MB, free: 23.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.527e-06/0.395, allocations: 0 / 372.1 MB, free: 23.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002414/0.3974, allocations: 1.298 MB / 373.4 MB, free: 23.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.3975, allocations: 86.67 kB / 373.5 MB, free: 23.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004996/0.398, allocations: 367.8 kB / 373.8 MB, free: 22.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.3981, allocations: 39.89 kB / 373.9 MB, free: 22.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.3983, allocations: 382.7 kB / 374.2 MB, free: 22.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.3986, allocations: 298.1 kB / 374.5 MB, free: 22.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.3986, allocations: 21.06 kB / 374.6 MB, free: 22.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3988, allocations: 359.5 kB / 374.9 MB, free: 22.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.3993, allocations: 265.1 kB / 375.2 MB, free: 22.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000628/0.3999, allocations: 469.4 kB / 375.6 MB, free: 21.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/0.4005, allocations: 335.5 kB / 376 MB, free: 21.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.4005, allocations: 1.25 kB / 376 MB, free: 21.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001624/0.4021, allocations: 0.9634 MB / 376.9 MB, free: 21.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.4021, allocations: 7.844 kB / 376.9 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.4022, allocations: 7.234 kB / 376.9 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004113/0.4026, allocations: 129.6 kB / 377.1 MB, free: 21.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007725/0.4034, allocations: 211.4 kB / 377.3 MB, free: 21.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.4066, allocations: 5.557 MB / 382.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005277/0.4071, allocations: 105 kB / 382.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/0.4072, allocations: 39.69 kB / 383 MB, free: 15.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000304/0.4075, allocations: 224.9 kB / 383.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.4076, allocations: 55.75 kB / 383.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.4092, allocations: 0.8456 MB / 384.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.4092, allocations: 12.55 kB / 384.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4092, allocations: 4.141 kB / 384.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.4092, allocations: 5 kB / 384.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002732/0.412, allocations: 1.933 MB / 386 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.412, allocations: 2.906 kB / 386 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/0.4125, allocations: 135 kB / 386.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002713/0.4128, allocations: 105.9 kB / 386.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/0.4129, allocations: 21.58 kB / 386.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002635/0.4155, allocations: 5.298 MB / 391.6 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4155, allocations: 10.16 kB / 391.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.4174, allocations: 1.266 MB / 392.9 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.4176, allocations: 147.4 kB / 393 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.042e-05/0.4177, allocations: 19.77 kB / 393 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.418, allocations: 25.64 kB / 393.1 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.4181, allocations: 65.09 kB / 393.1 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.393e-05/0.4182, allocations: 28.61 kB / 393.2 MB, free: 7.473 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003375/0.4186, allocations: 253.1 kB / 393.4 MB, free: 7.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4186, allocations: 0 / 393.4 MB, free: 7.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00115/0.4197, allocations: 260 kB / 393.7 MB, free: 7.277 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002883/0.42, allocations: 161.6 kB / 393.8 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.4218, allocations: 1.158 MB / 395 MB, free: 6.445 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4218, allocations: 0 / 395 MB, free: 6.445 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007989/0.4226, allocations: 0.7917 MB / 395.8 MB, free: 5.863 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.4232, allocations: 69.12 kB / 395.8 MB, free: 5.816 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.4259, allocations: 1.746 MB / 397.6 MB, free: 4.699 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.4264, allocations: 0.9109 MB / 398.5 MB, free: 3.988 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.4267, allocations: 61.19 kB / 398.5 MB, free: 3.98 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4267, allocations: 4 kB / 398.5 MB, free: 3.977 MB / 302.1 MB Notification: Performance of Templates: time 0.02982/0.4565, allocations: 20.86 MB / 419.4 MB, free: 3.652 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakageCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakageCalcHelperMain.o] Error 1