Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.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.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008393/0.0008393, allocations: 99.03 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.0008294/0.0008295, allocations: 181.6 kB / 16.92 MB, free: 6.891 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8507/0.8507, allocations: 132.3 MB / 424.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.0004499, allocations: 8 kB / 0.5046 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.544/0.5445, allocations: 81.57 MB / 0.5843 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001743/0.5463, allocations: 1.2 MB / 0.5855 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006906/0.547, allocations: 436 kB / 0.5859 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.17e-05/0.547, allocations: 0.9375 kB / 0.5859 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.5471, allocations: 5.203 kB / 0.5859 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.51e-05/0.5472, allocations: 6.375 kB / 0.5859 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.5473, allocations: 19.28 kB / 0.5859 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.662e-05/0.5474, allocations: 49.39 kB / 0.5859 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.5476, allocations: 14.31 kB / 0.586 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.314e-05/0.5476, allocations: 21.66 kB / 0.586 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.917e-05/0.5477, allocations: 19.34 kB / 0.586 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.5477, allocations: 1.188 kB / 0.586 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.5477, allocations: 3.312 kB / 0.586 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.5478, allocations: 10.94 kB / 0.586 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.041e-05/0.5478, allocations: 46.41 kB / 0.5861 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.486e-05/0.5479, allocations: 28.75 kB / 0.5861 GB, free: 2.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.5479, allocations: 0 / 0.5861 GB, free: 2.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5479, allocations: 0.9688 kB / 0.5861 GB, free: 2.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.548, allocations: 0 / 0.5861 GB, free: 2.75 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005063/0.5485, allocations: 358.6 kB / 0.5864 GB, free: 2.387 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.5485, allocations: 9.688 kB / 0.5864 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.5486, allocations: 8.672 kB / 0.5864 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.5487, allocations: 164.5 kB / 0.5866 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.5487, allocations: 2.656 kB / 0.5866 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.5487, allocations: 12.58 kB / 0.5866 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.5489, allocations: 66.44 kB / 0.5867 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.5489, allocations: 0 / 0.5867 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.5489, allocations: 1.719 kB / 0.5867 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.5489, allocations: 5.344 kB / 0.5867 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.278e-05/0.549, allocations: 26 kB / 0.5867 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.5495, allocations: 308.5 kB / 0.587 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.5496, allocations: 58.66 kB / 0.5871 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.841e-05/0.5497, allocations: 21.95 kB / 0.5871 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.5497, allocations: 1.219 kB / 0.5871 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.5499, allocations: 74.45 kB / 0.5872 GB, free: 1.715 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.5499, allocations: 0 / 0.5872 GB, free: 1.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002481/0.5502, allocations: 105 kB / 0.5873 GB, free: 1.656 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.5502, allocations: 57.59 kB / 0.5873 GB, free: 1.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.658e-05/0.5503, allocations: 103.5 kB / 0.5874 GB, free: 1.488 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.5503, allocations: 35.89 kB / 0.5874 GB, free: 1.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.5503, allocations: 82.61 kB / 0.5875 GB, free: 1.367 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.5504, allocations: 24.97 kB / 0.5875 GB, free: 1.348 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.5504, allocations: 19.89 kB / 0.5876 GB, free: 1.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.5505, allocations: 322.1 kB / 0.5879 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-05/0.5505, allocations: 15.78 kB / 0.5879 GB, free: 1.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.199e-05/0.5506, allocations: 48.12 kB / 0.5879 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.478e-05/0.5507, allocations: 70.56 kB / 0.588 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5507, allocations: 0 / 0.588 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001435/0.5508, allocations: 96.97 kB / 0.5881 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.5509, allocations: 6.359 kB / 0.5881 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5509, allocations: 1.75 kB / 0.5881 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.5509, allocations: 5.688 kB / 0.5881 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.885e-05/0.551, allocations: 9.469 kB / 0.5881 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.551, allocations: 2.359 kB / 0.5881 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.949e-05/0.5511, allocations: 20.22 kB / 0.5881 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.5511, allocations: 2.875 kB / 0.5881 GB, free: 0.832 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.901e-05/0.5512, allocations: 125.4 kB / 0.5883 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.5512, allocations: 6.922 kB / 0.5883 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.5512, allocations: 9.469 kB / 0.5883 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5512, allocations: 5.219 kB / 0.5883 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.5512, allocations: 1.781 kB / 0.5883 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.5512, allocations: 0 / 0.5883 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.5516, allocations: 356.5 kB / 0.5886 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5516, allocations: 0 / 0.5886 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.5516, allocations: 4.906 kB / 0.5886 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.5516, allocations: 5.781 kB / 0.5886 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.5517, allocations: 8.75 kB / 0.5886 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5517, allocations: 4.594 kB / 0.5886 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5517, allocations: 0.8906 kB / 0.5886 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.5518, allocations: 182.7 kB / 0.5888 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.5519, allocations: 83.08 kB / 0.5889 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.5519, allocations: 2.422 kB / 0.5889 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.423e-05/0.552, allocations: 11.39 kB / 0.5889 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.552, allocations: 15.94 kB / 0.5889 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.552, allocations: 1.719 kB / 0.5889 GB, free: 88 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.897e-05/0.5521, allocations: 85.02 kB / 0.589 GB, free: 8 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5521, allocations: 0 / 0.589 GB, free: 8 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.5523, allocations: 15.7 kB / 0.589 GB, free: 4 kB / 430.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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001371/0.5524, allocations: 95.86 kB / 0.5891 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.5526, allocations: 54.06 kB / 0.5892 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5526, allocations: 4.062 kB / 0.5892 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.242e-05/0.5527, allocations: 31.73 kB / 0.5892 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.553, allocations: 14.53 kB / 0.5892 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.5533, allocations: 184.5 kB / 0.5894 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.5536, allocations: 0.6884 MB / 0.5901 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.5537, allocations: 15.25 kB / 0.5901 GB, free: 15 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5537, allocations: 0.75 kB / 0.5901 GB, free: 15 MB / 446.1 MB Notification: Performance of Templates: time 0.002705/0.5564, allocations: 0.8358 MB / 0.5909 GB, free: 14.95 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.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.OffTimerNonZeroStartCalcHelperMain.o OMCppIDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStartCalcHelperMain.o] Error 1