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.001945/0.001945, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.002957/0.002957, allocations: 215.3 kB / 23 MB, free: 5.609 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.737/1.737, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.003314/0.003314, allocations: 67.89 kB / 376.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4192, allocations: 53.32 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.003712/0.4229, allocations: 1.64 MB / 431.4 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005313/0.4235, allocations: 167.5 kB / 431.6 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.4236, allocations: 0 / 431.6 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.811e-05/0.4236, allocations: 11.88 kB / 431.6 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.4238, allocations: 11.86 kB / 431.6 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.4241, allocations: 51.83 kB / 431.7 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.4242, allocations: 63.83 kB / 431.7 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.4244, allocations: 20.22 kB / 431.8 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.225e-05/0.4244, allocations: 31.91 kB / 431.8 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.395e-05/0.4245, allocations: 27.8 kB / 431.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.4245, allocations: 8 kB / 431.8 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.4245, allocations: 8 kB / 431.8 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.4246, allocations: 19.92 kB / 431.8 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.4246, allocations: 39.73 kB / 431.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.4248, allocations: 77.12 kB / 432 MB, free: 5.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4248, allocations: 0 / 432 MB, free: 5.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4248, allocations: 0 / 432 MB, free: 5.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.4248, allocations: 0 / 432 MB, free: 5.371 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.00062/0.4255, allocations: 390.8 kB / 432.3 MB, free: 4.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.478e-05/0.4255, allocations: 8.031 kB / 432.3 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.4256, allocations: 16.88 kB / 432.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.426, allocations: 200.2 kB / 432.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.426, allocations: 4.375 kB / 432.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.426, allocations: 12.31 kB / 432.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.4265, allocations: 188.6 kB / 432.8 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4265, allocations: 4.188 kB / 432.8 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.4265, allocations: 3.938 kB / 432.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4265, allocations: 0 / 432.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.4266, allocations: 39.92 kB / 432.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.4272, allocations: 373.8 kB / 433.2 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.4274, allocations: 107.6 kB / 433.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.4275, allocations: 58.67 kB / 433.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.4275, allocations: 12.12 kB / 433.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.4275, allocations: 34.56 kB / 433.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.4275, allocations: 0 / 433.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003793/0.4279, allocations: 133.4 kB / 433.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/0.428, allocations: 110.8 kB / 433.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.4282, allocations: 138 kB / 433.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.4282, allocations: 33.7 kB / 433.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.4283, allocations: 92.41 kB / 433.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.4283, allocations: 0 / 433.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.902e-05/0.4283, allocations: 37.66 kB / 433.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4285, allocations: 314.8 kB / 434.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.028e-05/0.4286, allocations: 19.98 kB / 434.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.4287, allocations: 85.38 kB / 434.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.4289, allocations: 109.2 kB / 434.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4289, allocations: 0 / 434.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002176/0.4291, allocations: 117.4 kB / 434.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.4291, allocations: 4 kB / 434.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.4291, allocations: 4 kB / 434.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.4292, allocations: 7.938 kB / 434.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.107e-05/0.4292, allocations: 11.98 kB / 434.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.4292, allocations: 8.281 kB / 434.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.194e-05/0.4293, allocations: 12 kB / 434.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.4293, allocations: 4 kB / 434.6 MB, free: 2.383 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 (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.0001411/0.4294, allocations: 133.7 kB / 434.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.4296, allocations: 85.58 kB / 434.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.353e-05/0.4296, allocations: 16.72 kB / 434.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.4296, allocations: 4 kB / 434.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4296, allocations: 0 / 434.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4296, allocations: 4 kB / 434.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.43, allocations: 185.5 kB / 435 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.43, allocations: 4.469 kB / 435 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.43, allocations: 7.938 kB / 435 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.43, allocations: 4 kB / 435 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.43, allocations: 3.984 kB / 435 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.43, allocations: 0 / 435 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.43, allocations: 11.92 kB / 435 MB, free: 1.863 MB / 334.1 MB [/var/lib/jenkins/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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.0004526/0.4305, allocations: 344.3 kB / 435.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.319e-05/0.4305, allocations: 101 kB / 435.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.4306, allocations: 0 / 435.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/0.4307, allocations: 4 kB / 435.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.4307, allocations: 11.98 kB / 435.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.4307, allocations: 4 kB / 435.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.612e-05/0.4308, allocations: 109.7 kB / 435.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4308, allocations: 0 / 435.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.4311, allocations: 8 kB / 435.6 MB, free: 1.258 MB / 334.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.0001685/0.4313, allocations: 110.2 kB / 435.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.4315, allocations: 63.98 kB / 435.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4315, allocations: 0 / 435.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.456e-05/0.4315, allocations: 19.92 kB / 435.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.432, allocations: 47.94 kB / 435.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.4326, allocations: 216.3 kB / 436.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.433, allocations: 0.7156 MB / 436.8 MB, free: 28 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.185e-05/0.4331, allocations: 448 / 436.8 MB, free: 28 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.4331, allocations: 15.44 kB / 436.8 MB, free: 12 kB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4331, allocations: 0 / 436.8 MB, free: 12 kB / 334.1 MB Notification: Performance of Templates: time 0.004058/0.4372, allocations: 0.8146 MB / 437.6 MB, free: 15.2 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample2/Sample2.csv","/var/lib/jenkins/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: 5.1548248482868075]