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.AssignClockVectorized.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.009297/0.009297, allocations: 107.9 kB / 21.97 MB, free: 5.184 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.002451/0.002451, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.511/1.511, allocations: 230.6 MB / 259 MB, free: 8.031 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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") [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.001997/0.001997, allocations: 71.89 kB / 379.8 MB, free: 2.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2696, allocations: 53.36 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002404/0.272, allocations: 0.9272 MB / 434.1 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003936/0.2724, allocations: 135.5 kB / 434.2 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.905e-05/0.2725, allocations: 7.938 kB / 434.2 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.2726, allocations: 7.922 kB / 434.2 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.67e-05/0.2727, allocations: 11.88 kB / 434.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.273, allocations: 51.88 kB / 434.3 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.2731, allocations: 59.84 kB / 434.4 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.2732, allocations: 24.22 kB / 434.4 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.32e-05/0.2733, allocations: 27.91 kB / 434.4 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.2733, allocations: 31.78 kB / 434.4 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.2734, allocations: 12 kB / 434.5 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.535e-05/0.2734, allocations: 4 kB / 434.5 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.761e-05/0.2735, allocations: 27.92 kB / 434.5 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.647e-05/0.2735, allocations: 39.73 kB / 434.5 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.2737, allocations: 89.06 kB / 434.6 MB, free: 5.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2737, allocations: 0 / 434.6 MB, free: 5.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2737, allocations: 0 / 434.6 MB, free: 5.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.2737, allocations: 0 / 434.6 MB, free: 5.523 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004616/0.2742, allocations: 321.6 kB / 434.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.2742, allocations: 8.031 kB / 434.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.2742, allocations: 16.89 kB / 435 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.2745, allocations: 149.1 kB / 435.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.2745, allocations: 8.375 kB / 435.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.2745, allocations: 4.375 kB / 435.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.275, allocations: 230.2 kB / 435.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.275, allocations: 4.188 kB / 435.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.275, allocations: 3.938 kB / 435.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.275, allocations: 4 kB / 435.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.918e-05/0.2751, allocations: 39.92 kB / 435.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.2753, allocations: 164.5 kB / 435.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.2755, allocations: 130.9 kB / 435.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.2756, allocations: 69.95 kB / 435.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.2756, allocations: 0 / 435.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.2757, allocations: 34.56 kB / 435.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 9.92e-07/0.2757, allocations: 0 / 435.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003267/0.276, allocations: 156.3 kB / 435.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.2761, allocations: 67.41 kB / 436 MB, free: 4.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.2762, allocations: 149.7 kB / 436.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.2762, allocations: 25.7 kB / 436.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.2763, allocations: 88.47 kB / 436.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.2763, allocations: 7.984 kB / 436.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.73e-05/0.2764, allocations: 45.66 kB / 436.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2765, allocations: 318.8 kB / 436.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.721e-05/0.2766, allocations: 16 kB / 436.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.2767, allocations: 117.7 kB / 436.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.2769, allocations: 153.5 kB / 436.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.2769, allocations: 4 kB / 436.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002172/0.2771, allocations: 149.3 kB / 437 MB, free: 2.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2771, allocations: 14.75 kB / 437.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2771, allocations: 4.5 kB / 437.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2771, allocations: 4 kB / 437.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.094e-05/0.2772, allocations: 19.92 kB / 437.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.2772, allocations: 4 kB / 437.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.566e-05/0.2772, allocations: 11.95 kB / 437.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.2773, allocations: 8 kB / 437.1 MB, free: 2.746 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001265/0.2774, allocations: 141.7 kB / 437.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.2776, allocations: 125.4 kB / 437.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/0.2776, allocations: 13.12 kB / 437.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2776, allocations: 8 kB / 437.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2776, allocations: 0 / 437.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2776, allocations: 0 / 437.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.2778, allocations: 156.7 kB / 437.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2778, allocations: 7.938 kB / 437.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.2778, allocations: 0 / 437.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.2778, allocations: 3.938 kB / 437.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.2778, allocations: 8 kB / 437.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.2778, allocations: 3.984 kB / 437.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2778, allocations: 0 / 437.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.278, allocations: 155.6 kB / 437.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.2781, allocations: 27.83 kB / 437.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.2781, allocations: 3.938 kB / 437.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.374e-05/0.2781, allocations: 8 kB / 437.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-06/0.2781, allocations: 4 kB / 437.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.2781, allocations: 0 / 437.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.695e-05/0.2782, allocations: 107.2 kB / 437.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2782, allocations: 0 / 437.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.2784, allocations: 20 kB / 437.9 MB, free: 1.895 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0001279/0.2786, allocations: 116 kB / 438 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.2788, allocations: 92.7 kB / 438.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2788, allocations: 4 kB / 438.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.2788, allocations: 0 / 438.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.2791, allocations: 79.98 kB / 438.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004427/0.2796, allocations: 247.1 kB / 438.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.28, allocations: 0.7161 MB / 439.1 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.28, allocations: 11.44 kB / 439.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.28, allocations: 0 / 439.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of Templates: time 0.003138/0.2831, allocations: 1.214 MB / 440.4 MB, free: 15.36 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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: 7.22040293016471]