Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 212.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.44/1.44, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.89 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2575, allocations: 53.32 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.003236/0.2607, allocations: 1.629 MB / 433.7 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004284/0.2611, allocations: 171.5 kB / 433.9 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.354e-05/0.2612, allocations: 0 / 433.9 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.745e-05/0.2612, allocations: 7.875 kB / 433.9 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.2613, allocations: 7.938 kB / 433.9 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.2616, allocations: 55.81 kB / 433.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.2617, allocations: 59.84 kB / 434 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.2618, allocations: 24.2 kB / 434 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.645e-05/0.2619, allocations: 27.86 kB / 434 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.04e-05/0.2619, allocations: 35.84 kB / 434.1 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.262, allocations: 4 kB / 434.1 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.262, allocations: 8 kB / 434.1 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.262, allocations: 19.92 kB / 434.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.2621, allocations: 35.73 kB / 434.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.2622, allocations: 77.14 kB / 434.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2622, allocations: 0 / 434.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2622, allocations: 0 / 434.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.798e-06/0.2622, allocations: 0 / 434.2 MB, free: 5.219 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.0004974/0.2627, allocations: 391.1 kB / 434.6 MB, free: 4.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2627, allocations: 8.031 kB / 434.6 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.2628, allocations: 20.78 kB / 434.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.263, allocations: 208.1 kB / 434.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.2631, allocations: 384 / 434.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.2631, allocations: 12.36 kB / 434.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.2635, allocations: 190.3 kB / 435 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2635, allocations: 192 / 435 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.2635, allocations: 3.938 kB / 435 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.2635, allocations: 4 kB / 435 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.2636, allocations: 39.92 kB / 435.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.264, allocations: 373.8 kB / 435.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.2642, allocations: 107.6 kB / 435.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.2643, allocations: 58.75 kB / 435.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.2643, allocations: 8 kB / 435.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.2644, allocations: 34.55 kB / 435.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.2644, allocations: 4 kB / 435.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003391/0.2647, allocations: 125.5 kB / 435.8 MB, free: 3.445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.2648, allocations: 103.1 kB / 435.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.2649, allocations: 148.9 kB / 436 MB, free: 3.168 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.2649, allocations: 25.7 kB / 436 MB, free: 3.137 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.265, allocations: 92.38 kB / 436.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.265, allocations: 7.984 kB / 436.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.265, allocations: 33.67 kB / 436.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2652, allocations: 318.8 kB / 436.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.645e-05/0.2652, allocations: 15.98 kB / 436.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.84e-05/0.2653, allocations: 89.69 kB / 436.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.2655, allocations: 105.3 kB / 436.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.2655, allocations: 7.938 kB / 436.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002092/0.2657, allocations: 117.4 kB / 436.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2657, allocations: 7.938 kB / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2657, allocations: 4 kB / 436.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2658, allocations: 4.344 kB / 436.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.999e-05/0.2658, allocations: 8 kB / 436.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.2658, allocations: 11.92 kB / 436.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/0.2658, allocations: 4 kB / 436.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.2659, allocations: 8 kB / 436.9 MB, free: 2.223 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.0001129/0.266, allocations: 129.7 kB / 437 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/0.266, allocations: 7.953 kB / 437 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/0.2661, allocations: 16.7 kB / 437 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2661, allocations: 0 / 437 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2661, allocations: 8 kB / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.2662, allocations: 97 kB / 437.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.2662, allocations: 12 kB / 437.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.878e-05/0.2663, allocations: 0 / 437.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.2663, allocations: 15.86 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003116/0.2666, allocations: 335.4 kB / 437.5 MB, free: 1.578 MB / 334.1 MB [/var/lib/jenkins1/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.) 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_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8016:5-8016: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.000452/0.2671, allocations: 486.7 kB / 437.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.375e-05/0.2672, allocations: 27.98 kB / 438 MB, free: 1.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.759e-05/0.2673, allocations: 115.2 kB / 438.1 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of Backend: time 2.21e-07/0.2673, allocations: 0 / 438.1 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005434/0.2678, allocations: 114.3 kB / 438.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006283/0.2684, allocations: 0.6389 MB / 438.8 MB, free: 140 kB / 334.1 MB Notification: Performance of Templates: time 0.00356/0.272, allocations: 0.8145 MB / 439.6 MB, free: 15.33 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.211230244953185] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'sample2.y', 'hold1.y'] 0.2804205701686442 0.29548746 0.030120537000000003 Calling exit ...