Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 101.5 kB / 17.8 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.001178/0.001178, 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.048/2.048, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001401/0.001401, allocations: 47.92 kB / 280.6 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.167, allocations: 46.63 MB / 327.3 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.0118/0.1789, allocations: 6.418 MB / 333.7 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006753/0.1857, allocations: 2.559 MB / 336.2 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.1876, allocations: 23.94 kB / 336.3 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003926/0.1915, allocations: 1.191 MB / 337.4 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003508/0.195, allocations: 0.6414 MB / 338.1 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002672/0.1977, allocations: 1.063 MB / 339.1 MB, free: 8.941 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001997/0.1997, allocations: 1.043 MB / 340.2 MB, free: 7.891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.2014, allocations: 0.7956 MB / 341 MB, free: 7.074 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008326/0.2022, allocations: 418.3 kB / 341.4 MB, free: 6.664 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007601/0.203, allocations: 0.5407 MB / 341.9 MB, free: 6.121 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.2032, allocations: 68 kB / 342 MB, free: 6.055 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.2044, allocations: 375.6 kB / 342.4 MB, free: 5.688 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.2047, allocations: 211.1 kB / 342.6 MB, free: 5.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006188/0.2053, allocations: 0.509 MB / 343.1 MB, free: 4.969 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.2068, allocations: 1.146 MB / 344.2 MB, free: 3.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.2068, allocations: 0 / 344.2 MB, free: 3.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.971e-06/0.2069, allocations: 4 kB / 344.2 MB, free: 3.816 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.093e-05/0.2069, allocations: 0 / 344.2 MB, free: 3.816 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.005268/0.2122, allocations: 1.652 MB / 345.9 MB, free: 2.113 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.742e-05/0.2122, allocations: 20.02 kB / 345.9 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003931/0.2162, allocations: 0.5655 MB / 346.5 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009508/0.2171, allocations: 0.4902 MB / 347 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.846e-05/0.2173, allocations: 94.23 kB / 347.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.2174, allocations: 108 kB / 347.2 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.2197, allocations: 1.011 MB / 348.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.241e-05/0.2198, allocations: 7.891 kB / 348.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.2199, allocations: 48 kB / 348.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.042e-05/0.2199, allocations: 28 kB / 348.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.2221, allocations: 1.028 MB / 349.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007263/0.2293, allocations: 3.873 MB / 353.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002879/0.2323, allocations: 2.048 MB / 355.2 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009139/0.2332, allocations: 447.5 kB / 355.6 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/0.2334, allocations: 106.2 kB / 355.7 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.2344, allocations: 478.4 kB / 356.2 MB, free: 7.164 MB / 302.1 MB Notification: Performance of pre-optimization done (n=98): time 5.48e-06/0.2344, allocations: 3.984 kB / 356.2 MB, free: 7.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=127): time 0.009776/0.2442, allocations: 4.01 MB / 360.2 MB, free: 3.031 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.2444, allocations: 145.5 kB / 360.4 MB, free: 2.859 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006183/0.245, allocations: 413.8 kB / 360.8 MB, free: 2.449 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.617e-05/0.2451, allocations: 49.64 kB / 360.8 MB, free: 2.395 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004797/0.2456, allocations: 439.4 kB / 361.2 MB, free: 1.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005182/0.2461, allocations: 433.7 kB / 361.7 MB, free: 1.527 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004195/0.2465, allocations: 218.8 kB / 361.9 MB, free: 1.305 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003322/0.2469, allocations: 382.7 kB / 362.3 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007829/0.2477, allocations: 358.5 kB / 362.6 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.2489, allocations: 0.5955 MB / 363.2 MB, free: 15.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/0.2508, allocations: 0.993 MB / 364.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.2508, allocations: 4 kB / 364.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003044/0.2539, allocations: 1.433 MB / 365.6 MB, free: 13.37 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.2539, allocations: 12 kB / 365.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.254, allocations: 4 kB / 365.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.2551, allocations: 359.1 kB / 366 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009405/0.256, allocations: 223.6 kB / 366.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.2665, allocations: 7.734 MB / 374 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.2678, allocations: 47.98 kB / 374 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.268, allocations: 48 kB / 374 MB, free: 4.41 MB / 318.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: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009402/0.269, allocations: 265.6 kB / 374.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.2693, allocations: 75.22 kB / 374.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003358/0.2726, allocations: 1.321 MB / 375.7 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.2727, allocations: 19.94 kB / 375.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.2727, allocations: 7.938 kB / 375.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.2727, allocations: 11.97 kB / 375.7 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005026/0.2777, allocations: 2.565 MB / 378.3 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.2778, allocations: 0 / 378.3 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3401/0.6178, allocations: 154 kB / 378.5 MB, free: 51.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/0.619, allocations: 326.8 kB / 378.8 MB, free: 51.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.6192, allocations: 28.78 kB / 378.8 MB, free: 51.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00777/0.6269, allocations: 7.437 MB / 386.2 MB, free: 46.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.627, allocations: 6.188 kB / 386.2 MB, free: 46.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004137/0.6311, allocations: 1.84 MB / 388.1 MB, free: 45.69 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004486/0.6316, allocations: 222.5 kB / 388.3 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.6317, allocations: 24.25 kB / 388.3 MB, free: 45.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005673/0.6323, allocations: 37.92 kB / 388.4 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000314/0.6326, allocations: 101 kB / 388.5 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.283e-05/0.6327, allocations: 36.5 kB / 388.5 MB, free: 45.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004094/0.6331, allocations: 281.9 kB / 388.8 MB, free: 45.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6331, allocations: 0 / 388.8 MB, free: 45.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001726/0.6349, allocations: 324.1 kB / 389.1 MB, free: 45.31 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003786/0.6353, allocations: 169.2 kB / 389.3 MB, free: 45.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003141/0.6384, allocations: 1.643 MB / 390.9 MB, free: 44.31 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6384, allocations: 0 / 390.9 MB, free: 44.31 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001922/0.6403, allocations: 1.152 MB / 392 MB, free: 43.58 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006541/0.641, allocations: 78.62 kB / 392.1 MB, free: 43.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/0.6456, allocations: 2.52 MB / 394.6 MB, free: 42.02 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007568/0.6463, allocations: 1.028 MB / 395.7 MB, free: 41.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.6466, allocations: 69.7 kB / 395.7 MB, free: 41.29 MB / 318.1 MB Notification: Performance of SimCode: time 1.663e-06/0.6466, allocations: 0 / 395.7 MB, free: 41.29 MB / 318.1 MB Notification: Performance of Templates: time 0.02604/0.6727, allocations: 26.71 MB / 422.5 MB, free: 20.65 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.LinearInductorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductorCalcHelperMain.o] Error 1