Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.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.001319/0.001319, allocations: 110.8 kB / 21.19 MB, free: 0.668 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.001404/0.001404, allocations: 211.6 kB / 24.49 MB, free: 3.969 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.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 47.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2095, allocations: 53.37 MB / 432.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.003256/0.2128, allocations: 1.621 MB / 434 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004603/0.2132, allocations: 167.4 kB / 434.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.423e-05/0.2133, allocations: 3.938 kB / 434.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.128e-05/0.2134, allocations: 7.922 kB / 434.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.2135, allocations: 15.88 kB / 434.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.2137, allocations: 51.5 kB / 434.2 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.2139, allocations: 63.84 kB / 434.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.214, allocations: 28.02 kB / 434.3 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.951e-05/0.214, allocations: 35.84 kB / 434.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.671e-05/0.2141, allocations: 27.84 kB / 434.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.2141, allocations: 8 kB / 434.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.2141, allocations: 7.938 kB / 434.4 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.2142, allocations: 15.92 kB / 434.4 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.092e-05/0.2142, allocations: 31.75 kB / 434.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.2144, allocations: 75.36 kB / 434.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2144, allocations: 0 / 434.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2144, allocations: 4 kB / 434.5 MB, free: 4.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.2144, allocations: 4 kB / 434.5 MB, free: 4.605 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004602/0.2148, allocations: 315.4 kB / 434.8 MB, free: 4.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2149, allocations: 8.031 kB / 434.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.2149, allocations: 8.891 kB / 434.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.2151, allocations: 146.3 kB / 435 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.2152, allocations: 4.375 kB / 435 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.2152, allocations: 8.375 kB / 435 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.2156, allocations: 186.3 kB / 435.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2156, allocations: 192 / 435.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.2156, allocations: 11.94 kB / 435.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.2156, allocations: 3.984 kB / 435.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.2157, allocations: 35.92 kB / 435.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.2161, allocations: 313.5 kB / 435.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.2163, allocations: 107.8 kB / 435.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.2164, allocations: 58.62 kB / 435.7 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.2164, allocations: 4 kB / 435.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.2164, allocations: 34.56 kB / 435.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.2164, allocations: 0 / 435.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003397/0.2168, allocations: 133.8 kB / 435.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.2168, allocations: 106.8 kB / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.217, allocations: 140.3 kB / 436.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.217, allocations: 29.8 kB / 436.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.217, allocations: 96.31 kB / 436.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.101e-05/0.217, allocations: 256 / 436.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.2171, allocations: 45.59 kB / 436.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2172, allocations: 318.8 kB / 436.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.721e-05/0.2173, allocations: 15.94 kB / 436.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.93e-05/0.2174, allocations: 85.42 kB / 436.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.2175, allocations: 105.3 kB / 436.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2175, allocations: 0 / 436.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002023/0.2177, allocations: 121.6 kB / 436.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2177, allocations: 8 kB / 436.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2177, allocations: 4 kB / 436.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.2178, allocations: 4 kB / 436.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.7e-05/0.2178, allocations: 11.94 kB / 436.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2178, allocations: 4 kB / 436.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.835e-05/0.2178, allocations: 11.98 kB / 436.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.2179, allocations: 4 kB / 436.9 MB, free: 1.871 MB / 334.1 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 (xor1.y,xor1.u2,xor1.u1,xor.y,xor.u2,xor.u1,integerConstant.y,sample2.y,sample1.y,step.y,hold1.u,hold1.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 0.0001042/0.218, allocations: 133.7 kB / 437.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.218, allocations: 19.89 kB / 437.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.2181, allocations: 16.7 kB / 437.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2181, allocations: 4 kB / 437.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2181, allocations: 0 / 437.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.2181, allocations: 23.89 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.2181, allocations: 0 / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.2182, allocations: 8 kB / 437.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.2183, allocations: 3.938 kB / 437.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002899/0.2186, allocations: 343.3 kB / 437.5 MB, free: 1.309 MB / 334.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.) xor1.u2 xor.y xor.u2 sample2.y hold1.y hold1.u xor1.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 xor.y := not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 := xor.y [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: xor1.u2 xor.y xor.u2 sample2.y hold1.y hold1.u xor1.y equations: 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 xor.y := not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 := xor.y [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed Warning: The optimization module SymbolicJacobian.symbolicJacobianDAE failed. This module will be skipped and the transformation process continued. Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004171/0.219, allocations: 474.9 kB / 437.9 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.459e-05/0.2191, allocations: 43.94 kB / 438 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.048e-05/0.2191, allocations: 109.8 kB / 438.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of Backend: time 1.61e-07/0.2191, allocations: 0 / 438.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005256/0.2197, allocations: 114.6 kB / 438.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006018/0.2203, allocations: 0.6273 MB / 438.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of Templates: time 0.003406/0.2237, allocations: 0.9029 MB / 439.7 MB, free: 15.01 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.078734478003753] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'sample2.y', 'hold1.y'] 0.23161880900443066 0.24629473200000002 0.028977409000000003 Calling exit ...