Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 112.5 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001275, allocations: 47.92 kB / 350 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3539, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.002388/0.3563, allocations: 1.647 MB / 401.1 MB, free: 31.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003246/0.3567, allocations: 167.5 kB / 401.3 MB, free: 31.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.212e-05/0.3568, allocations: 4 kB / 401.3 MB, free: 31.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.892e-05/0.3569, allocations: 7.922 kB / 401.3 MB, free: 31.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.357, allocations: 0 / 401.3 MB, free: 31.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.3572, allocations: 47.89 kB / 401.3 MB, free: 31.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.006e-05/0.3573, allocations: 63.86 kB / 401.4 MB, free: 31.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3574, allocations: 32.19 kB / 401.4 MB, free: 31.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.346e-05/0.3574, allocations: 27.86 kB / 401.5 MB, free: 31.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.589e-05/0.3575, allocations: 35.78 kB / 401.5 MB, free: 31.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.3575, allocations: 8 kB / 401.5 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.3575, allocations: 4 kB / 401.5 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.3576, allocations: 15.92 kB / 401.5 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.3576, allocations: 31.8 kB / 401.6 MB, free: 31.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.248e-05/0.3577, allocations: 67.72 kB / 401.6 MB, free: 31.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3577, allocations: 4 kB / 401.6 MB, free: 31.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.3577, allocations: 0 / 401.6 MB, free: 31.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3577, allocations: 0 / 401.6 MB, free: 31.22 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0003886/0.3581, allocations: 384.7 kB / 402 MB, free: 30.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.3582, allocations: 8.031 kB / 402 MB, free: 30.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.3582, allocations: 16.75 kB / 402 MB, free: 30.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.3583, allocations: 204.1 kB / 402.2 MB, free: 30.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.3584, allocations: 4.375 kB / 402.2 MB, free: 30.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.3584, allocations: 8.375 kB / 402.2 MB, free: 30.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.3587, allocations: 190.2 kB / 402.4 MB, free: 30.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3587, allocations: 192 / 402.4 MB, free: 30.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3587, allocations: 7.938 kB / 402.4 MB, free: 30.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3587, allocations: 0 / 402.4 MB, free: 30.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.614e-05/0.3588, allocations: 43.91 kB / 402.5 MB, free: 30.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.3591, allocations: 369.9 kB / 402.8 MB, free: 29.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.3593, allocations: 115.6 kB / 403 MB, free: 29.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.804e-05/0.3594, allocations: 62.81 kB / 403 MB, free: 29.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.3594, allocations: 0 / 403 MB, free: 29.63 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.3594, allocations: 46.5 kB / 403.1 MB, free: 29.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.3594, allocations: 0 / 403.1 MB, free: 29.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002719/0.3597, allocations: 129.4 kB / 403.2 MB, free: 29.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.3598, allocations: 110.8 kB / 403.3 MB, free: 29.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/0.3599, allocations: 144.3 kB / 403.4 MB, free: 29.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.3599, allocations: 29.95 kB / 403.5 MB, free: 29.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/0.3599, allocations: 92.33 kB / 403.6 MB, free: 29.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.778e-06/0.3599, allocations: 4 kB / 403.6 MB, free: 29.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.36, allocations: 37.64 kB / 403.6 MB, free: 28.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.36, allocations: 318.8 kB / 403.9 MB, free: 28.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.764e-05/0.3601, allocations: 12 kB / 403.9 MB, free: 28.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.173e-05/0.3601, allocations: 93.31 kB / 404 MB, free: 28.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.751e-05/0.3602, allocations: 105.2 kB / 404.1 MB, free: 28.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3602, allocations: 4 kB / 404.1 MB, free: 28.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000145/0.3604, allocations: 117.3 kB / 404.2 MB, free: 28.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3604, allocations: 8 kB / 404.2 MB, free: 28.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3604, allocations: 0 / 404.2 MB, free: 28.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3604, allocations: 4 kB / 404.2 MB, free: 28.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.867e-05/0.3604, allocations: 11.94 kB / 404.3 MB, free: 28.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3604, allocations: 4.344 kB / 404.3 MB, free: 28.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.3605, allocations: 19.83 kB / 404.3 MB, free: 28.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3605, allocations: 8 kB / 404.3 MB, free: 28.21 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 12 (step.y,xor1.y,xor1.u2,xor1.u1,xor.y,xor.u2,xor.u1,integerConstant.y,sample2.y,hold1.y,hold1.u,sample1.y) * 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.493e-05/0.3606, allocations: 129.7 kB / 404.4 MB, free: 28.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.3607, allocations: 85.53 kB / 404.5 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.3607, allocations: 12.72 kB / 404.5 MB, free: 27.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3608, allocations: 4.453 kB / 404.5 MB, free: 27.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3608, allocations: 0 / 404.5 MB, free: 27.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3608, allocations: 4 kB / 404.5 MB, free: 27.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.3609, allocations: 185.6 kB / 404.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.361, allocations: 0 / 404.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.521e-05/0.361, allocations: 19.86 kB / 404.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.361, allocations: 4 kB / 404.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.361, allocations: 4 kB / 404.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.361, allocations: 0 / 404.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.361, allocations: 0 / 404.7 MB, free: 27.7 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) xor.u2 sample2.y hold1.y hold1.u xor1.y xor1.u2 xor.y xor.y = not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 = xor.y xor1.y = not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold1.u = xor1.y hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.y) xor.u2 = sample2.y [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: xor.u2 sample2.y hold1.y hold1.u xor1.y xor1.u2 xor.y equations: xor.y = not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 = xor.y xor1.y = not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold1.u = xor1.y hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.y) xor.u2 = sample2.y [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.3613, allocations: 348.2 kB / 405.1 MB, free: 27.34 MB / 298.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.