Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002277/0.002277, allocations: 215.9 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 43.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2151, allocations: 53.38 MB / 432.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse): time 0.00258/0.2177, allocations: 1.45 MB / 433.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000189/0.2179, allocations: 39.89 kB / 433.8 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.218, allocations: 7.875 kB / 433.8 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.218, allocations: 4 kB / 433.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.208e-05/0.218, allocations: 7.938 kB / 433.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.2183, allocations: 23.97 kB / 433.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.025e-05/0.2184, allocations: 47.8 kB / 433.9 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.301e-05/0.2185, allocations: 11.78 kB / 433.9 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.917e-05/0.2185, allocations: 15.94 kB / 433.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.122e-05/0.2185, allocations: 23.91 kB / 434 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.2186, allocations: 0 / 434 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.2186, allocations: 4 kB / 434 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.2186, allocations: 11.98 kB / 434 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.2186, allocations: 11.94 kB / 434 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.918e-05/0.2187, allocations: 47.8 kB / 434 MB, free: 4.969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2187, allocations: 0 / 434 MB, free: 4.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2187, allocations: 4 kB / 434 MB, free: 4.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.2187, allocations: 0 / 434 MB, free: 4.965 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004436/0.2192, allocations: 269.2 kB / 434.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2192, allocations: 8.031 kB / 434.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.2193, allocations: 8.891 kB / 434.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.2195, allocations: 122.5 kB / 434.4 MB, free: 4.516 MB / 334.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: pulse.startOutput = previous(pulse.counter) >= pulse.startTick - 1 to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.2196, allocations: 40.5 kB / 434.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.2196, allocations: 8.375 kB / 434.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.2199, allocations: 115.9 kB / 434.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.2199, allocations: 3.938 kB / 434.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2199, allocations: 3.984 kB / 434.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.2199, allocations: 0 / 434.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.904e-05/0.22, allocations: 19.94 kB / 434.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.2201, allocations: 113.2 kB / 434.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.2202, allocations: 54.69 kB / 434.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.2203, allocations: 32.78 kB / 434.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.2203, allocations: 4 kB / 434.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.2203, allocations: 30.56 kB / 434.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.2203, allocations: 0 / 434.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.000201/0.2205, allocations: 77.56 kB / 434.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.2206, allocations: 51.41 kB / 435 MB, free: 3.887 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.007e-05/0.2207, allocations: 109.8 kB / 435.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.2207, allocations: 25.7 kB / 435.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.2207, allocations: 80.14 kB / 435.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.052e-05/0.2207, allocations: 11.98 kB / 435.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.2208, allocations: 21.72 kB / 435.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2209, allocations: 314.8 kB / 435.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.2209, allocations: 4 kB / 435.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.833e-05/0.221, allocations: 36.72 kB / 435.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.5e-05/0.221, allocations: 48.17 kB / 435.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.221, allocations: 128 / 435.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001013/0.2211, allocations: 73.58 kB / 435.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2211, allocations: 4 kB / 435.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2211, allocations: 0 / 435.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2211, allocations: 7.938 kB / 435.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.674e-05/0.2212, allocations: 7.938 kB / 435.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2212, allocations: 0 / 435.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.132e-05/0.2212, allocations: 0 / 435.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.2212, allocations: 7.984 kB / 435.7 MB, free: 3.078 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (pulse.startOutput,pulse.counter,pulse.y,assignClock1.y,assignClock1.u) * 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 7.98e-05/0.2213, allocations: 114 kB / 435.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.2213, allocations: 8 kB / 435.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.857e-05/0.2213, allocations: 4.062 kB / 435.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2213, allocations: 3.938 kB / 435.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2213, allocations: 0 / 435.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.2214, allocations: 7.953 kB / 435.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.2214, allocations: 4 kB / 435.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.147e-05/0.2214, allocations: 7.984 kB / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.043e-05/0.2214, allocations: 4.031 kB / 435.9 MB, free: 2.914 MB / 334.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:161:5-161:157:writable] Error: Internal error Stack overflow in DAEMode.getEqSystemDAEmode... [bt] #1 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_setStacktraceMessages_threadData) [bt] #2 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_do_stackoverflow) [bt] #3...4 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ComponentReference.expandCref_impl) [bt] #5 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ComponentReference.expandCref) [bt] #6 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendVariable.getVar) [bt] #7 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEUtil.traversingadjacencyRowExpFinder) [bt] #8 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(boxptr_BackendDAEUtil_traversingadjacencyRowExpFinder) [bt] #9...10 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Expression.traverseExpTopDown1) [bt] #11 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Expression.traverseExpTopDown) [bt] #12 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEUtil.traversingadjacencyRowIfExp) [bt] #13 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEUtil.traversingadjacencyRowExpFinder) [bt] #14 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(boxptr_BackendDAEUtil_traversingadjacencyRowExpFinder) [bt] #15 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(Expression.traverseExpTopDown) [bt] #16 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEUtil.adjacencyRowExp) [bt] #17...18 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEUtil.adjacencyRow) [bt] #19 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEUtil.adjacencyMatrixDispatchScalar) [bt] #20 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEUtil.adjacencyMatrixScalar) [bt] #21 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(DAEMode.getDiscAndContEqns) [bt] #22...1024 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(DAEMode.traverserStrongComponents) [bt] #1025 [...] Error: Internal error SimCode DAEmode: The model Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.336863229997107] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 1.1949733270012075 1.2054680899999999 0.984048617 Calling exit ...