Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.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.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset") translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009311/0.0009311, allocations: 99.11 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.001209/0.001209, allocations: 182.1 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.386/1.386, allocations: 223.2 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7743/0.7743, allocations: 132.3 MB / 424.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003461, allocations: 12.56 kB / 0.5046 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5496/0.55, allocations: 81.58 MB / 0.5843 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.004494/0.5545, allocations: 3.889 MB / 0.5881 GB, free: 1.164 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003217/0.5578, allocations: 1.534 MB / 0.5896 GB, free: 60 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005746/0.5584, allocations: 33.69 kB / 0.5896 GB, free: 48 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000429/0.5588, allocations: 124.1 kB / 0.5897 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006708/0.5595, allocations: 174.2 kB / 0.5899 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.5611, allocations: 0.6216 MB / 0.5905 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00159/0.5627, allocations: 1.136 MB / 0.5916 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008358/0.5635, allocations: 487.5 kB / 0.5921 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005788/0.5641, allocations: 348 kB / 0.5924 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004752/0.5646, allocations: 356.2 kB / 0.5927 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.116e-05/0.5647, allocations: 25.56 kB / 0.5928 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.179e-05/0.5648, allocations: 26.09 kB / 0.5928 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.565, allocations: 146.5 kB / 0.5929 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000386/0.5654, allocations: 410.6 kB / 0.5933 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.5665, allocations: 0.8123 MB / 0.5941 GB, free: 13.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5665, allocations: 0 / 0.5941 GB, free: 13.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5665, allocations: 1.094 kB / 0.5941 GB, free: 13.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.149e-05/0.5665, allocations: 0 / 0.5941 GB, free: 13.7 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002632/0.5691, allocations: 1.239 MB / 0.5953 GB, free: 12.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5692, allocations: 9.562 kB / 0.5953 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.5695, allocations: 124.3 kB / 0.5955 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.5709, allocations: 0.728 MB / 0.5962 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.571, allocations: 84.31 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.5712, allocations: 75.59 kB / 0.5963 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.5728, allocations: 0.7387 MB / 0.597 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.5728, allocations: 0 / 0.597 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.706e-05/0.5729, allocations: 39.69 kB / 0.5971 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.573, allocations: 17.53 kB / 0.5971 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.5742, allocations: 0.5284 MB / 0.5976 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003591/0.5778, allocations: 2.29 MB / 0.5998 GB, free: 9.984 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.5793, allocations: 0.6364 MB / 0.6005 GB, free: 9.664 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/0.5799, allocations: 281.5 kB / 0.6007 GB, free: 9.527 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-05/0.58, allocations: 7.969 kB / 0.6007 GB, free: 9.527 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007685/0.5808, allocations: 331.7 kB / 0.6011 GB, free: 9.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.895e-06/0.5808, allocations: 0 / 0.6011 GB, free: 9.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001893/0.5827, allocations: 0.7688 MB / 0.6018 GB, free: 8.949 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.5828, allocations: 88.11 kB / 0.6019 GB, free: 8.852 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.5839, allocations: 0.7585 MB / 0.6026 GB, free: 8.418 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.253e-05/0.5839, allocations: 40.2 kB / 0.6027 GB, free: 8.375 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.5843, allocations: 445.3 kB / 0.6031 GB, free: 7.988 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.5845, allocations: 205.2 kB / 0.6033 GB, free: 7.809 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.815e-05/0.5846, allocations: 57.56 kB / 0.6034 GB, free: 7.766 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5848, allocations: 328.2 kB / 0.6037 GB, free: 7.445 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004969/0.5853, allocations: 209.6 kB / 0.6039 GB, free: 7.348 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005812/0.5859, allocations: 321.2 kB / 0.6042 GB, free: 7.129 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.587, allocations: 0.5209 MB / 0.6047 GB, free: 6.816 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.587, allocations: 0 / 0.6047 GB, free: 6.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001427/0.5884, allocations: 0.6606 MB / 0.6053 GB, free: 6.484 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.5886, allocations: 154.8 kB / 0.6055 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.5886, allocations: 6.406 kB / 0.6055 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.5886, allocations: 5.875 kB / 0.6055 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/0.5893, allocations: 153 kB / 0.6056 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.5893, allocations: 4.531 kB / 0.6056 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.5898, allocations: 74.16 kB / 0.6057 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.5899, allocations: 23.47 kB / 0.6057 GB, free: 6.211 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.174e-06/0.5899, allocations: 4 kB / 0.6057 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00108/0.591, allocations: 0.5293 MB / 0.6062 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.591, allocations: 2.625 kB / 0.6063 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.876e-06/0.591, allocations: 8.812 kB / 0.6063 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/0.5916, allocations: 140 kB / 0.6064 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.5916, allocations: 4.5 kB / 0.6064 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/0.5921, allocations: 66.2 kB / 0.6065 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.5921, allocations: 23.92 kB / 0.6065 GB, free: 5.867 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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 0.0005156/0.5926, allocations: 298.3 kB / 0.6068 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.5928, allocations: 94.69 kB / 0.6069 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.593, allocations: 101.4 kB / 0.607 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.593, allocations: 5.625 kB / 0.607 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.593, allocations: 0.7812 kB / 0.607 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.5931, allocations: 5.078 kB / 0.607 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.5955, allocations: 1.453 MB / 0.6084 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5955, allocations: 8.969 kB / 0.6084 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005441/0.5961, allocations: 104.4 kB / 0.6085 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.5961, allocations: 2.062 kB / 0.6085 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.5962, allocations: 20.36 kB / 0.6085 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.5962, allocations: 6.125 kB / 0.6085 GB, free: 4.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/0.5962, allocations: 4 kB / 0.6085 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.5981, allocations: 0.9886 MB / 0.6095 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/0.5984, allocations: 227.3 kB / 0.6097 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.016e-05/0.5985, allocations: 15.38 kB / 0.6097 GB, free: 3.617 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/0.5989, allocations: 42.97 kB / 0.6098 GB, free: 3.598 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.599, allocations: 37.28 kB / 0.6098 GB, free: 3.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/0.5991, allocations: 15.5 kB / 0.6098 GB, free: 3.574 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007847/0.5999, allocations: 0.5162 MB / 0.6103 GB, free: 3.285 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5999, allocations: 0 / 0.6103 GB, free: 3.285 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008264/0.6007, allocations: 274.5 kB / 0.6106 GB, free: 3.211 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001741/0.6009, allocations: 112.9 kB / 0.6107 GB, free: 3.109 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001769/0.6027, allocations: 0.8129 MB / 0.6115 GB, free: 2.762 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6027, allocations: 0 / 0.6115 GB, free: 2.762 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005868/0.6033, allocations: 276.2 kB / 0.6117 GB, free: 2.645 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.6046, allocations: 243.1 kB / 0.612 GB, free: 2.516 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.6078, allocations: 1.967 MB / 0.6139 GB, free: 1.156 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006933/0.6085, allocations: 0.9915 MB / 0.6149 GB, free: 340 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/0.6088, allocations: 65.67 kB / 0.6149 GB, free: 328 kB / 446.1 MB Notification: Performance of SimCode: time 7.12e-07/0.6088, allocations: 0 / 0.6149 GB, free: 328 kB / 446.1 MB Notification: Performance of Templates: time 0.01588/0.6247, allocations: 10.78 MB / 0.6255 GB, free: 5.746 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.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.Controls.Continuous.Validation.LimPIDResetCalcHelperMain.o OMCppIDEAS_IDEAS.Controls.Continuous.Validation.LimPIDResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Controls.Continuous.Validation.LimPIDResetCalcHelperMain.o] Error 1