Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007867/0.0007864, allocations: 98.48 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.0008587/0.0008588, allocations: 185.7 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.29/1.29, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6879/0.6879, allocations: 132.3 MB / 424.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003299, allocations: 12.84 kB / 0.5046 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4069, allocations: 81.57 MB / 0.5843 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0006823/0.4077, allocations: 356.1 kB / 0.5846 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006436/0.4083, allocations: 370.1 kB / 0.585 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.418e-05/0.4083, allocations: 0.9375 kB / 0.585 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.4084, allocations: 0 / 0.585 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.451e-05/0.4084, allocations: 4.719 kB / 0.585 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.4087, allocations: 82.31 kB / 0.5851 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.373e-05/0.4088, allocations: 22.31 kB / 0.5851 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.4089, allocations: 2.094 kB / 0.5851 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.696e-05/0.4089, allocations: 10.52 kB / 0.5851 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.409, allocations: 15.59 kB / 0.5851 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.409, allocations: 2.125 kB / 0.5851 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005082/0.4095, allocations: 271.3 kB / 0.5854 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.4095, allocations: 10.34 kB / 0.5854 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.4096, allocations: 39.91 kB / 0.5854 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.4097, allocations: 65.06 kB / 0.5855 GB, free: 3.383 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4097, allocations: 4.75 kB / 0.5855 GB, free: 3.379 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4098, allocations: 3.938 kB / 0.5855 GB, free: 3.375 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.4098, allocations: 0 / 0.5855 GB, free: 3.375 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003566/0.4101, allocations: 347.2 kB / 0.5858 GB, free: 3.008 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.4102, allocations: 13.75 kB / 0.5859 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.77e-05/0.4103, allocations: 3.75 kB / 0.5859 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.753e-05/0.4104, allocations: 171.7 kB / 0.586 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.4104, allocations: 1.062 kB / 0.586 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.4104, allocations: 8.719 kB / 0.586 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.4105, allocations: 49.89 kB / 0.5861 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.4106, allocations: 0.875 kB / 0.5861 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.4106, allocations: 5.562 kB / 0.5861 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.4106, allocations: 0.625 kB / 0.5861 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.042e-05/0.4107, allocations: 18.47 kB / 0.5861 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.4108, allocations: 172.1 kB / 0.5863 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.303e-05/0.4109, allocations: 60.28 kB / 0.5863 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.411, allocations: 28.36 kB / 0.5863 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005421/0.4115, allocations: 460.7 kB / 0.5868 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.4115, allocations: 40.5 kB / 0.5868 GB, free: 1.973 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.4115, allocations: 1.656 kB / 0.5868 GB, free: 1.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001082/0.4126, allocations: 0.5896 MB / 0.5874 GB, free: 1.457 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.4127, allocations: 53.52 kB / 0.5875 GB, free: 1.395 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.262e-05/0.4127, allocations: 99.95 kB / 0.5875 GB, free: 1.293 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.4127, allocations: 31.08 kB / 0.5876 GB, free: 1.258 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.497e-05/0.4127, allocations: 84.14 kB / 0.5877 GB, free: 1.172 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.4128, allocations: 51.67 kB / 0.5877 GB, free: 1.129 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.4128, allocations: 18.55 kB / 0.5877 GB, free: 1.109 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.242e-05/0.4129, allocations: 322 kB / 0.588 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.868e-05/0.4129, allocations: 18.69 kB / 0.5881 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.708e-05/0.4129, allocations: 24.27 kB / 0.5881 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.708e-05/0.413, allocations: 53.69 kB / 0.5881 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.413, allocations: 0 / 0.5881 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001406/0.4132, allocations: 99.95 kB / 0.5882 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.4132, allocations: 5.719 kB / 0.5882 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4132, allocations: 5.219 kB / 0.5882 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.4132, allocations: 0 / 0.5882 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.4133, allocations: 25.02 kB / 0.5883 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4134, allocations: 5.125 kB / 0.5883 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.218e-05/0.4134, allocations: 4.562 kB / 0.5883 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.4134, allocations: 3.125 kB / 0.5883 GB, free: 0.6797 MB / 430.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 (13): * Single equations (assignments): 13 * 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 5.219e-05/0.4135, allocations: 115.2 kB / 0.5884 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.4135, allocations: 11.08 kB / 0.5884 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.4137, allocations: 109.7 kB / 0.5885 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.4137, allocations: 1.094 kB / 0.5885 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4137, allocations: 1.156 kB / 0.5885 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4137, allocations: 5.953 kB / 0.5885 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.414, allocations: 344 kB / 0.5888 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.414, allocations: 1.094 kB / 0.5888 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.906e-05/0.4141, allocations: 24.22 kB / 0.5889 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4141, allocations: 0.7188 kB / 0.5889 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.4141, allocations: 5.969 kB / 0.5889 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4141, allocations: 0.6562 kB / 0.5889 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4141, allocations: 0 / 0.5889 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.4144, allocations: 224.6 kB / 0.5891 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.4145, allocations: 83.55 kB / 0.5892 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.4145, allocations: 1.688 kB / 0.5892 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.788e-05/0.4146, allocations: 10.88 kB / 0.5892 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.4146, allocations: 10.39 kB / 0.5892 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.4146, allocations: 2.625 kB / 0.5892 GB, free: 15.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.626e-05/0.4146, allocations: 79.66 kB / 0.5893 GB, free: 15.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4146, allocations: 0 / 0.5893 GB, free: 15.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.4149, allocations: 42.16 kB / 0.5893 GB, free: 15.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002479/0.4152, allocations: 142.8 kB / 0.5894 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.4153, allocations: 74.38 kB / 0.5895 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4154, allocations: 0.8125 kB / 0.5895 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.982e-05/0.4154, allocations: 33.58 kB / 0.5895 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.4156, allocations: 6.172 kB / 0.5895 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.416, allocations: 228.2 kB / 0.5898 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.4162, allocations: 0.6856 MB / 0.5904 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.4163, allocations: 21.34 kB / 0.5904 GB, free: 14.75 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.4163, allocations: 3.938 kB / 0.5905 GB, free: 14.75 MB / 446.1 MB Notification: Performance of Templates: time 0.003085/0.4194, allocations: 1.196 MB / 0.5916 GB, free: 14.65 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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 OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_CheckCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_CheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_CheckCalcHelperMain.o] Error 1