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.001771/0.001771, allocations: 78.88 kB / 21.24 MB, free: 0.543 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.002295/0.002295, allocations: 161.1 kB / 24.5 MB, free: 3.719 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.487/1.487, allocations: 177.1 MB / 204.7 MB, free: 8.98 MB / 190.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.001905/0.001905, allocations: 65.44 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1046, allocations: 53.39 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.003043/0.1077, allocations: 1.631 MB / 380.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004669/0.1081, allocations: 167.4 kB / 380.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.654e-05/0.1082, allocations: 7.938 kB / 380.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.771e-05/0.1083, allocations: 7.922 kB / 380.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.1084, allocations: 7.875 kB / 380.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.1086, allocations: 47.89 kB / 380.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.1087, allocations: 63.83 kB / 380.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1088, allocations: 36.09 kB / 380.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.1089, allocations: 27.86 kB / 380.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.38e-05/0.1089, allocations: 23.84 kB / 380.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.1089, allocations: 8 kB / 380.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.1089, allocations: 4 kB / 380.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.177e-05/0.109, allocations: 23.92 kB / 381 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.109, allocations: 27.8 kB / 381 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.1092, allocations: 75.64 kB / 381.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1092, allocations: 0 / 381.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1092, allocations: 0 / 381.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1092, allocations: 0 / 381.1 MB, free: 13.3 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.0005021/0.1097, allocations: 314 kB / 381.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1097, allocations: 15.98 kB / 381.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.1097, allocations: 12.83 kB / 381.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.11, allocations: 142.3 kB / 381.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.11, allocations: 4.375 kB / 381.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.1101, allocations: 8.375 kB / 381.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004282/0.1105, allocations: 201 kB / 381.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1105, allocations: 192 / 381.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1105, allocations: 3.938 kB / 381.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1105, allocations: 4 kB / 381.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1106, allocations: 39.92 kB / 381.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.1111, allocations: 309.5 kB / 382.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.1112, allocations: 107.9 kB / 382.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.731e-05/0.1113, allocations: 58.5 kB / 382.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1114, allocations: 8 kB / 382.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1114, allocations: 42.5 kB / 382.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.1114, allocations: 0 / 382.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.000331/0.1117, allocations: 125.5 kB / 382.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.744e-05/0.1118, allocations: 114.8 kB / 382.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1119, allocations: 137.8 kB / 382.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.112, allocations: 29.7 kB / 382.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.112, allocations: 92.38 kB / 382.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.538e-06/0.112, allocations: 0 / 382.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.1121, allocations: 37.91 kB / 382.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1122, allocations: 322.8 kB / 383.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.134e-05/0.1123, allocations: 12 kB / 383.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.634e-05/0.1124, allocations: 85.38 kB / 383.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.1125, allocations: 117.2 kB / 383.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1125, allocations: 0 / 383.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002029/0.1127, allocations: 117.7 kB / 383.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1127, allocations: 8.031 kB / 383.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1128, allocations: 8 kB / 383.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1128, allocations: 4 kB / 383.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.64e-05/0.1128, allocations: 11.94 kB / 383.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1128, allocations: 4 kB / 383.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.422e-05/0.1129, allocations: 4 kB / 383.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1129, allocations: 7.984 kB / 383.5 MB, free: 10.55 MB / 350.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.0001789/0.113, allocations: 137.6 kB / 383.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.1132, allocations: 89.89 kB / 383.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.1132, allocations: 20.78 kB / 383.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1132, allocations: 4 kB / 383.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1132, allocations: 0 / 383.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1132, allocations: 3.984 kB / 383.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.1135, allocations: 117.3 kB / 383.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1135, allocations: 3.938 kB / 383.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.1135, allocations: 8 kB / 383.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1135, allocations: 3.984 kB / 383.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1135, allocations: 4 kB / 383.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1135, allocations: 0 / 383.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1135, allocations: 0 / 383.9 MB, free: 10.12 MB / 350.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.) 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/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/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:8032:5-8032: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.0004106/0.1139, allocations: 340.4 kB / 384.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.114, allocations: 23.88 kB / 384.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.114, allocations: 4 kB / 384.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.192e-05/0.1141, allocations: 0 / 384.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.1141, allocations: 11.98 kB / 384.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.1141, allocations: 0 / 384.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.869e-05/0.1142, allocations: 114.5 kB / 384.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1142, allocations: 0 / 384.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.1145, allocations: 12 kB / 384.4 MB, free: 9.605 MB / 350.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.0001588/0.1146, allocations: 111.1 kB / 384.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.1148, allocations: 60.48 kB / 384.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.1148, allocations: 4 kB / 384.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.524e-05/0.1149, allocations: 16.05 kB / 384.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.1153, allocations: 55.88 kB / 384.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/0.1157, allocations: 208 kB / 384.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.1158, allocations: 91.17 kB / 384.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.301e-05/0.1158, allocations: 4.5 kB / 384.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.1159, allocations: 16.44 kB / 384.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1159, allocations: 0 / 384.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of Templates: time 0.003676/0.1195, allocations: 0.8576 MB / 385.8 MB, free: 8.152 MB / 350.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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.372046730015427]