Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.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.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008568/0.0008568, 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.001268/0.001268, allocations: 182.8 kB / 16.92 MB, free: 6.918 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.533/1.533, allocations: 223.2 MB / 240.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007383/0.007383, allocations: 1.227 MB / 293.3 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005054/0.0005054, allocations: 15.98 kB / 354.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3855, allocations: 50.67 MB / 405.4 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.001859/0.3874, allocations: 0.9622 MB / 406.3 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.3889, allocations: 0.656 MB / 407 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.91e-05/0.389, allocations: 2.875 kB / 407 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.3892, allocations: 31.95 kB / 407 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.3896, allocations: 79.64 kB / 407.1 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.647e-06/0.3896, allocations: 1.094 kB / 407.1 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.03e-05/0.3897, allocations: 39.5 kB / 407.2 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.3897, allocations: 2.938 kB / 407.2 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.613e-05/0.3898, allocations: 27.62 kB / 407.2 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.796e-05/0.3899, allocations: 12.7 kB / 407.2 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.326e-06/0.3899, allocations: 1.062 kB / 407.2 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003963/0.3903, allocations: 220.8 kB / 407.4 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.3904, allocations: 7.875 kB / 407.4 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.3904, allocations: 38.3 kB / 407.5 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.3906, allocations: 86.11 kB / 407.5 MB, free: 9.797 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3906, allocations: 0.875 kB / 407.5 MB, free: 9.797 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3907, allocations: 0 / 407.5 MB, free: 9.797 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.3907, allocations: 0 / 407.5 MB, free: 9.797 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003703/0.391, allocations: 353.7 kB / 407.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.3911, allocations: 9.812 kB / 407.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.3912, allocations: 3.281 kB / 407.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.3914, allocations: 187.5 kB / 408.1 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3914, allocations: 1.625 kB / 408.1 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.3915, allocations: 5.594 kB / 408.1 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.3916, allocations: 49.2 kB / 408.1 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3916, allocations: 0 / 408.1 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.3916, allocations: 1.312 kB / 408.1 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.3916, allocations: 5.406 kB / 408.1 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.771e-05/0.3917, allocations: 29.06 kB / 408.2 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.3919, allocations: 170.8 kB / 408.3 MB, free: 8.969 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.3922, allocations: 74.81 kB / 408.4 MB, free: 8.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.3922, allocations: 21.7 kB / 408.4 MB, free: 8.918 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.603e-05/0.3923, allocations: 16.06 kB / 408.5 MB, free: 8.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.3923, allocations: 39.48 kB / 408.5 MB, free: 8.863 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.3923, allocations: 0 / 408.5 MB, free: 8.863 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.002467/0.3948, allocations: 0.5996 MB / 409.1 MB, free: 8.703 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.3948, allocations: 56.53 kB / 409.1 MB, free: 8.637 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.395, allocations: 123.8 kB / 409.3 MB, free: 8.531 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.395, allocations: 29.7 kB / 409.3 MB, free: 8.496 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.395, allocations: 88.22 kB / 409.4 MB, free: 8.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.3951, allocations: 15.38 kB / 409.4 MB, free: 8.398 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.3951, allocations: 11.52 kB / 409.4 MB, free: 8.383 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.482e-05/0.3952, allocations: 322.9 kB / 409.7 MB, free: 8.062 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.3955, allocations: 155.6 kB / 409.9 MB, free: 8.027 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.3958, allocations: 153.6 kB / 410 MB, free: 7.996 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/0.3964, allocations: 314.6 kB / 410.3 MB, free: 7.914 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3964, allocations: 0 / 410.3 MB, free: 7.914 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006434/0.3971, allocations: 377.9 kB / 410.7 MB, free: 7.801 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3971, allocations: 3.562 kB / 410.7 MB, free: 7.801 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3971, allocations: 1.781 kB / 410.7 MB, free: 7.801 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.3972, allocations: 1.125 kB / 410.7 MB, free: 7.801 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.3974, allocations: 40.7 kB / 410.7 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3974, allocations: 0 / 410.7 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.3975, allocations: 2.25 kB / 410.8 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.339e-05/0.3976, allocations: 27.8 kB / 410.8 MB, free: 7.793 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.478e-05/0.3977, allocations: 115.3 kB / 410.9 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.3977, allocations: 10.83 kB / 410.9 MB, free: 7.668 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006486/0.3984, allocations: 290.4 kB / 411.2 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3984, allocations: 1.031 kB / 411.2 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3984, allocations: 5.906 kB / 411.2 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3984, allocations: 0 / 411.2 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.3995, allocations: 0.5902 MB / 411.8 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3995, allocations: 0 / 411.8 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.3997, allocations: 24.11 kB / 411.8 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3997, allocations: 5.188 kB / 411.8 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.3997, allocations: 7.578 kB / 411.8 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3997, allocations: 1.094 kB / 411.8 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3997, allocations: 0 / 411.8 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/0.4002, allocations: 340.4 kB / 412.2 MB, free: 6.961 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.4002, allocations: 83.94 kB / 412.2 MB, free: 6.863 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.4002, allocations: 5.609 kB / 412.2 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.4004, allocations: 9.188 kB / 412.2 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.4005, allocations: 9.188 kB / 412.3 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.4005, allocations: 16.41 kB / 412.3 MB, free: 6.855 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.384e-05/0.4006, allocations: 104.5 kB / 412.4 MB, free: 6.77 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4006, allocations: 1 kB / 412.4 MB, free: 6.77 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004387/0.4011, allocations: 30.66 kB / 412.4 MB, free: 6.762 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($cse1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002087/0.4013, allocations: 119.6 kB / 412.5 MB, free: 6.664 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004194/0.4017, allocations: 217.4 kB / 412.7 MB, free: 6.629 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4017, allocations: 0 / 412.7 MB, free: 6.629 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.4019, allocations: 88.5 kB / 412.8 MB, free: 6.609 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.4021, allocations: 8.344 kB / 412.8 MB, free: 6.605 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006192/0.4028, allocations: 278.3 kB / 413.1 MB, free: 6.414 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.4029, allocations: 0.6863 MB / 413.8 MB, free: 5.719 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.4031, allocations: 36.14 kB / 413.8 MB, free: 5.699 MB / 286.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4031, allocations: 0 / 413.8 MB, free: 5.699 MB / 286.1 MB Notification: Performance of Templates: time 0.004501/0.4076, allocations: 1.629 MB / 415.5 MB, free: 5.535 MB / 286.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.makefile make -j1 -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.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.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.o OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.o] Error 1