Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001829/0.001829, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.002177/0.002177, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 230.2 MB / 255.2 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 63.89 kB / 374.5 MB, free: 9.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0968/0.09863, allocations: 53.32 MB / 427.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.003/0.1016, allocations: 1.616 MB / 429.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004656/0.1021, allocations: 167.4 kB / 429.6 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.951e-05/0.1022, allocations: 7.938 kB / 429.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.028e-05/0.1022, allocations: 15.86 kB / 429.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.1024, allocations: 11.92 kB / 429.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.1026, allocations: 55.83 kB / 429.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.1028, allocations: 59.89 kB / 429.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1029, allocations: 20.22 kB / 429.8 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.839e-05/0.1029, allocations: 27.86 kB / 429.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.103, allocations: 31.84 kB / 429.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.103, allocations: 4 kB / 429.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.46e-05/0.103, allocations: 4 kB / 429.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.094e-05/0.1031, allocations: 27.91 kB / 429.9 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.1032, allocations: 35.75 kB / 429.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.1033, allocations: 79.58 kB / 430 MB, free: 2.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.1033, allocations: 3.938 kB / 430 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1033, allocations: 0 / 430 MB, free: 2.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1033, allocations: 0 / 430 MB, free: 2.383 MB / 350.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.000549/0.1039, allocations: 387 kB / 430.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1039, allocations: 8.031 kB / 430.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.104, allocations: 16.84 kB / 430.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.1042, allocations: 204.2 kB / 430.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.1043, allocations: 384 / 430.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.1043, allocations: 12.38 kB / 430.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.1047, allocations: 180.5 kB / 430.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1047, allocations: 12.06 kB / 430.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1047, allocations: 3.938 kB / 430.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1047, allocations: 4 kB / 430.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1048, allocations: 39.97 kB / 430.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.1053, allocations: 365.8 kB / 431.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.1054, allocations: 119.8 kB / 431.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.934e-05/0.1055, allocations: 54.62 kB / 431.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1056, allocations: 3.984 kB / 431.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1056, allocations: 46.5 kB / 431.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.1056, allocations: 0 / 431.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003618/0.106, allocations: 129.5 kB / 431.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/0.106, allocations: 110.8 kB / 431.6 MB, free: 492 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.1062, allocations: 141.7 kB / 431.8 MB, free: 340 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1062, allocations: 29.7 kB / 431.8 MB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.1063, allocations: 92.31 kB / 431.9 MB, free: 204 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.1063, allocations: 8.25 kB / 431.9 MB, free: 196 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.1063, allocations: 33.66 kB / 431.9 MB, free: 156 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1065, allocations: 322.8 kB / 432.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.306e-05/0.1065, allocations: 12 kB / 432.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.986e-05/0.1066, allocations: 93.31 kB / 432.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1067, allocations: 105.2 kB / 432.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1068, allocations: 4 kB / 432.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000195/0.1069, allocations: 117.7 kB / 432.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.107, allocations: 8 kB / 432.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.107, allocations: 0 / 432.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.107, allocations: 4 kB / 432.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.235e-05/0.107, allocations: 7.938 kB / 432.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.107, allocations: 7.938 kB / 432.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.469e-05/0.1071, allocations: 11.94 kB / 432.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1071, allocations: 4.344 kB / 432.6 MB, free: 15.39 MB / 366.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 (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 0.0001088/0.1072, allocations: 137.8 kB / 432.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.1073, allocations: 85.58 kB / 432.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.1074, allocations: 12.72 kB / 432.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1074, allocations: 0 / 432.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1074, allocations: 0 / 432.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1074, allocations: 7.984 kB / 432.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.1077, allocations: 189.5 kB / 433.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1077, allocations: 4 kB / 433.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.1077, allocations: 15.98 kB / 433.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1077, allocations: 0 / 433.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1077, allocations: 11.88 kB / 433.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1077, allocations: 0 / 433.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1077, allocations: 0 / 433.1 MB, free: 14.86 MB / 366.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.) 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/jenkins1/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/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:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed Warning: The optimization module detectJacobianSparsePattern failed. This module will be skipped and the transformation process continued. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.1081, allocations: 342.6 kB / 433.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/0.1081, allocations: 93.05 kB / 433.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.1082, allocations: 7.984 kB / 433.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.438e-05/0.1083, allocations: 0 / 433.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.1083, allocations: 7.938 kB / 433.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.1083, allocations: 8 kB / 433.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.638e-05/0.1084, allocations: 103.2 kB / 433.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1084, allocations: 8 kB / 433.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.1086, allocations: 8 kB / 433.6 MB, free: 14.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (step.y,hold1.y,sample1.y,hold1.u,sample2.y,integerConstant.y,xor.u1,xor.u2,xor.y,xor1.u1,xor1.u2,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001063/0.1088, allocations: 99.25 kB / 433.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.1089, allocations: 72.41 kB / 433.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1089, allocations: 0 / 433.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.654e-05/0.109, allocations: 16 kB / 433.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.1094, allocations: 58.72 kB / 433.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.1098, allocations: 233.3 kB / 434.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.1102, allocations: 0.7041 MB / 434.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.1102, allocations: 11.44 kB / 434.8 MB, free: 13 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1102, allocations: 4.125 kB / 434.8 MB, free: 13 MB / 366.1 MB Notification: Performance of Templates: time 0.002736/0.113, allocations: 0.9969 MB / 435.8 MB, free: 12 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.780909611145034]