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.001088/0.001088, allocations: 95.66 kB / 16.33 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.00109/0.00109, allocations: 187.5 kB / 17.22 MB, free: 5.883 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.593/1.593, allocations: 205.4 MB / 223.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3447/0.3447, allocations: 43.55 MB / 315.2 MB, free: 9.078 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.0005135/0.0005137, allocations: 14.97 kB / 384.6 MB, free: 8.238 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1136, allocations: 58.86 MB / 443.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005336/0.119, allocations: 4.49 MB / 447.9 MB, free: 8.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.1219, allocations: 1.481 MB / 449.4 MB, free: 7.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006551/0.1226, allocations: 20 kB / 449.4 MB, free: 7.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007177/0.1233, allocations: 175 kB / 449.6 MB, free: 7.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009911/0.1243, allocations: 254.3 kB / 449.8 MB, free: 6.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.1256, allocations: 0.5454 MB / 450.4 MB, free: 6.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000818/0.1264, allocations: 0.7346 MB / 451.1 MB, free: 5.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/0.1285, allocations: 1.298 MB / 452.4 MB, free: 4.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003587/0.1289, allocations: 278.9 kB / 452.7 MB, free: 3.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004899/0.1294, allocations: 386.5 kB / 453.1 MB, free: 3.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.134e-05/0.1295, allocations: 40 kB / 453.1 MB, free: 3.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.1298, allocations: 151.8 kB / 453.2 MB, free: 3.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1299, allocations: 127.5 kB / 453.4 MB, free: 3.246 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.1301, allocations: 177.3 kB / 453.5 MB, free: 3.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008517/0.131, allocations: 0.8804 MB / 454.4 MB, free: 2.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.131, allocations: 3.938 kB / 454.4 MB, free: 2.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.131, allocations: 0 / 454.4 MB, free: 2.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.447e-05/0.131, allocations: 4 kB / 454.4 MB, free: 2.176 MB / 382.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.003059/0.1341, allocations: 1.201 MB / 455.6 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1342, allocations: 15.98 kB / 455.6 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.1354, allocations: 230.8 kB / 455.9 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.1357, allocations: 262.5 kB / 456.1 MB, free: 396 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.1358, allocations: 78 kB / 456.2 MB, free: 316 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002167/0.136, allocations: 96 kB / 456.3 MB, free: 220 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2034/0.3395, allocations: 0.9209 MB / 457.2 MB, free: 45.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.3395, allocations: 6.281 kB / 457.2 MB, free: 45.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.851e-05/0.3396, allocations: 43.34 kB / 457.3 MB, free: 45.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.3396, allocations: 27.72 kB / 457.3 MB, free: 45.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.3407, allocations: 0.72 MB / 458 MB, free: 45.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003609/0.3443, allocations: 3.947 MB / 462 MB, free: 43.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.3459, allocations: 3.363 MB / 465.3 MB, free: 40.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.3462, allocations: 283.5 kB / 465.6 MB, free: 40.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.537e-05/0.3463, allocations: 101.4 kB / 465.7 MB, free: 40.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3464, allocations: 47.27 kB / 465.7 MB, free: 40.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 4.177e-06/0.3464, allocations: 3.312 kB / 465.7 MB, free: 40.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002118/0.3485, allocations: 1.336 MB / 467.1 MB, free: 39.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.3486, allocations: 136.6 kB / 467.2 MB, free: 39.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.3488, allocations: 313.7 kB / 467.5 MB, free: 39.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.3489, allocations: 38.55 kB / 467.6 MB, free: 39.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.349, allocations: 400.8 kB / 468 MB, free: 39.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.529e-05/0.3491, allocations: 231.4 kB / 468.2 MB, free: 38.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.3492, allocations: 18.81 kB / 468.2 MB, free: 38.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.391e-05/0.3492, allocations: 351.8 kB / 468.5 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.3495, allocations: 201.9 kB / 468.7 MB, free: 38.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/0.3499, allocations: 394.2 kB / 469.1 MB, free: 38.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.3503, allocations: 264.9 kB / 469.4 MB, free: 38.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.3503, allocations: 2.719 kB / 469.4 MB, free: 38.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001152/0.3515, allocations: 0.8787 MB / 470.3 MB, free: 38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3515, allocations: 9 kB / 470.3 MB, free: 38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3515, allocations: 5.812 kB / 470.3 MB, free: 38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005155/0.352, allocations: 223.1 kB / 470.5 MB, free: 37.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.3524, allocations: 143.3 kB / 470.6 MB, free: 37.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003554/0.356, allocations: 6.227 MB / 476.9 MB, free: 32.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.3564, allocations: 86.75 kB / 476.9 MB, free: 32.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.3565, allocations: 38.44 kB / 477 MB, free: 32.02 MB / 382.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 (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%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002605/0.3567, allocations: 215.5 kB / 477.2 MB, free: 31.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.3568, allocations: 40.06 kB / 477.2 MB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009758/0.3578, allocations: 0.6888 MB / 477.9 MB, free: 31.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3578, allocations: 9.125 kB / 477.9 MB, free: 31.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3578, allocations: 6.188 kB / 477.9 MB, free: 31.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3579, allocations: 7.031 kB / 477.9 MB, free: 31.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.3597, allocations: 1.57 MB / 479.5 MB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3597, allocations: 3.094 kB / 479.5 MB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.3599, allocations: 67.75 kB / 479.6 MB, free: 30.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004025/0.3603, allocations: 210.1 kB / 479.8 MB, free: 30.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.3603, allocations: 14.25 kB / 479.8 MB, free: 30.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003353/0.3637, allocations: 6.217 MB / 486 MB, free: 24.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.3637, allocations: 4.688 kB / 486 MB, free: 24.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.3648, allocations: 1.184 MB / 487.2 MB, free: 23.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.57e-05/0.3649, allocations: 131.2 kB / 487.3 MB, free: 23.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.982e-05/0.365, allocations: 13.88 kB / 487.3 MB, free: 23.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.3653, allocations: 14.34 kB / 487.4 MB, free: 23.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-05/0.3654, allocations: 58.7 kB / 487.4 MB, free: 23.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.3654, allocations: 21.34 kB / 487.4 MB, free: 23.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001835/0.3656, allocations: 217.7 kB / 487.7 MB, free: 23.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3656, allocations: 0 / 487.7 MB, free: 23.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008973/0.3665, allocations: 276 kB / 487.9 MB, free: 23.53 MB / 382.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 (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%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001972/0.3667, allocations: 128.1 kB / 488 MB, free: 23.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.3679, allocations: 1.081 MB / 489.1 MB, free: 22.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3679, allocations: 1.062 kB / 489.1 MB, free: 22.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006203/0.3686, allocations: 0.7725 MB / 489.9 MB, free: 22.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/0.3692, allocations: 45.44 kB / 489.9 MB, free: 22.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.371, allocations: 1.595 MB / 491.5 MB, free: 21.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.3714, allocations: 0.9138 MB / 492.5 MB, free: 20.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.3715, allocations: 41.84 kB / 492.5 MB, free: 20.34 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3715, allocations: 0 / 492.5 MB, free: 20.34 MB / 382.1 MB Notification: Performance of Templates: time 0.02071/0.3922, allocations: 19.31 MB / 0.4998 GB, free: 15.37 MB / 382.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++ 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_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