Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo) 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(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008975/0.0008975, allocations: 98.64 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 189.5 kB / 16.92 MB, free: 6.75 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.475/1.475, allocations: 223.2 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01502/0.01502, allocations: 1.218 MB / 293.3 MB, free: 0.9727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003338, allocations: 8 kB / 354.7 MB, free: 1.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3513, allocations: 50.67 MB / 405.4 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.00253/0.3539, allocations: 1.258 MB / 406.6 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.356, allocations: 1.264 MB / 407.9 MB, free: 9.172 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.453e-05/0.3561, allocations: 3.938 kB / 407.9 MB, free: 9.168 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005713/0.3567, allocations: 141.8 kB / 408.1 MB, free: 9.117 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006672/0.3574, allocations: 224.7 kB / 408.3 MB, free: 9.016 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.341e-06/0.3574, allocations: 0 / 408.3 MB, free: 9.016 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.3576, allocations: 167.3 kB / 408.4 MB, free: 8.957 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.436e-05/0.3577, allocations: 14 kB / 408.5 MB, free: 8.945 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.3578, allocations: 49.05 kB / 408.5 MB, free: 8.922 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.358, allocations: 70.53 kB / 408.6 MB, free: 8.895 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.358, allocations: 3.219 kB / 408.6 MB, free: 8.895 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007631/0.3588, allocations: 433.6 kB / 409 MB, free: 8.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/0.3589, allocations: 39.31 kB / 409 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.352e-05/0.359, allocations: 79.47 kB / 409.1 MB, free: 8.668 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005196/0.3595, allocations: 254.6 kB / 409.4 MB, free: 8.613 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3595, allocations: 5.188 kB / 409.4 MB, free: 8.609 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3595, allocations: 0 / 409.4 MB, free: 8.609 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3596, allocations: 0 / 409.4 MB, free: 8.609 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006947/0.3603, allocations: 455.9 kB / 409.8 MB, free: 8.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.3603, allocations: 9.344 kB / 409.8 MB, free: 8.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.3604, allocations: 22.45 kB / 409.8 MB, free: 8.168 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.3606, allocations: 236.6 kB / 410.1 MB, free: 7.938 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.3607, allocations: 3.094 kB / 410.1 MB, free: 7.938 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.3607, allocations: 11.12 kB / 410.1 MB, free: 7.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.3609, allocations: 110.5 kB / 410.2 MB, free: 7.875 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3609, allocations: 0 / 410.2 MB, free: 7.875 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3609, allocations: 0.6094 kB / 410.2 MB, free: 7.875 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3609, allocations: 2.188 kB / 410.2 MB, free: 7.875 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.3612, allocations: 142.8 kB / 410.3 MB, free: 7.855 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.3615, allocations: 262.1 kB / 410.6 MB, free: 7.637 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.3617, allocations: 152.2 kB / 410.7 MB, free: 7.586 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3618, allocations: 76.89 kB / 410.8 MB, free: 7.559 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.3619, allocations: 41.22 kB / 410.9 MB, free: 7.551 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.362, allocations: 39.59 kB / 410.9 MB, free: 7.504 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.362, allocations: 0 / 410.9 MB, free: 7.504 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.001798/0.3638, allocations: 433.9 kB / 411.3 MB, free: 7.316 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.3638, allocations: 56.31 kB / 411.4 MB, free: 7.25 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.3641, allocations: 217.5 kB / 411.6 MB, free: 7.113 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.3641, allocations: 25.7 kB / 411.6 MB, free: 7.082 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.3642, allocations: 120.3 kB / 411.7 MB, free: 6.973 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.3642, allocations: 29.59 kB / 411.8 MB, free: 6.949 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.3642, allocations: 16.41 kB / 411.8 MB, free: 6.93 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.579e-05/0.3643, allocations: 328.4 kB / 412.1 MB, free: 6.609 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.439e-05/0.3644, allocations: 61.08 kB / 412.2 MB, free: 6.598 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.36e-05/0.3645, allocations: 58.48 kB / 412.2 MB, free: 6.59 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.3647, allocations: 140.8 kB / 412.3 MB, free: 6.547 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3647, allocations: 0 / 412.3 MB, free: 6.547 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008124/0.3655, allocations: 241 kB / 412.6 MB, free: 6.461 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3656, allocations: 5.312 kB / 412.6 MB, free: 6.461 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3656, allocations: 0.6094 kB / 412.6 MB, free: 6.461 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00074/0.3663, allocations: 75.16 kB / 412.7 MB, free: 6.445 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.35e-05/0.3664, allocations: 10.97 kB / 412.7 MB, free: 6.445 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.3683, allocations: 1.432 MB / 414.1 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.197e-05/0.3684, allocations: 11.25 kB / 414.1 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.3684, allocations: 4.312 kB / 414.1 MB, free: 5.082 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.3685, allocations: 125.6 kB / 414.2 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.3686, allocations: 15.11 kB / 414.3 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008849/0.3694, allocations: 272 kB / 414.5 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3695, allocations: 1.562 kB / 414.5 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3695, allocations: 1.703 kB / 414.5 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3695, allocations: 0.7031 kB / 414.5 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.3697, allocations: 259.2 kB / 414.8 MB, free: 4.637 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3697, allocations: 1.062 kB / 414.8 MB, free: 4.637 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.3698, allocations: 20.14 kB / 414.8 MB, free: 4.629 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006494/0.3704, allocations: 74.44 kB / 414.9 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.3705, allocations: 6 kB / 414.9 MB, free: 4.609 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.3721, allocations: 1.426 MB / 416.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3721, allocations: 9.25 kB / 416.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000847/0.3729, allocations: 267.5 kB / 416.6 MB, free: 3.141 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.373, allocations: 91.3 kB / 416.7 MB, free: 3.039 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.373, allocations: 4 kB / 416.7 MB, free: 3.035 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.501e-05/0.3731, allocations: 2.938 kB / 416.7 MB, free: 3.035 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.3732, allocations: 13.25 kB / 416.7 MB, free: 3.031 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.3732, allocations: 4.156 kB / 416.7 MB, free: 3.031 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002022/0.3734, allocations: 168.5 kB / 416.9 MB, free: 2.926 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3734, allocations: 3.938 kB / 416.9 MB, free: 2.922 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006234/0.374, allocations: 85.08 kB / 416.9 MB, free: 2.902 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000389/0.3744, allocations: 156.1 kB / 417.1 MB, free: 2.797 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007195/0.3752, allocations: 268.5 kB / 417.4 MB, free: 2.656 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3752, allocations: 0 / 417.4 MB, free: 2.656 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004058/0.3756, allocations: 204.3 kB / 417.6 MB, free: 2.527 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.3759, allocations: 31.2 kB / 417.6 MB, free: 2.512 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/0.3797, allocations: 0.6396 MB / 418.2 MB, free: 2.238 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.38, allocations: 0.7212 MB / 418.9 MB, free: 1.539 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.38, allocations: 16.05 kB / 419 MB, free: 1.531 MB / 286.1 MB Notification: Performance of SimCode: time 7.41e-07/0.38, allocations: 4 kB / 419 MB, free: 1.527 MB / 286.1 MB Notification: Performance of Templates: time 0.00767/0.3877, allocations: 2.956 MB / 421.9 MB, free: 1.07 MB / 286.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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 OMCppFluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.o OMCppFluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppFluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.o] Error 1