Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008989/0.0008989, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.000908/0.000908, allocations: 159.4 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.9527/0.9527, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] 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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 273.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.398e-05, allocations: 9.266 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001711/0.001735, allocations: 0.947 MB / 274.3 MB, free: 136 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003048/0.00204, allocations: 139.5 kB / 274.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.13e-05/0.002112, allocations: 7.938 kB / 274.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.094e-05/0.002202, allocations: 11.81 kB / 274.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.822e-05/0.002281, allocations: 11.92 kB / 274.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.00245, allocations: 39.89 kB / 274.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.601e-05/0.002546, allocations: 63.83 kB / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.145e-05/0.002638, allocations: 40.06 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.372e-05/0.002682, allocations: 31.97 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.468e-05/0.002716, allocations: 27.89 kB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.002737, allocations: 4 kB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.002749, allocations: 8 kB / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.002807, allocations: 27.86 kB / 274.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.002834, allocations: 19.91 kB / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.002935, allocations: 55.81 kB / 274.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.002936, allocations: 4 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.002937, allocations: 0 / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.00294, allocations: 0 / 274.8 MB, free: 15.64 MB / 266.7 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.0002479/0.003188, allocations: 300.4 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.003218, allocations: 15.98 kB / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.003244, allocations: 8.938 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.003378, allocations: 145.5 kB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.003386, allocations: 4.375 kB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.003397, allocations: 8.375 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.003569, allocations: 162.8 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.003575, allocations: 192 / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.003582, allocations: 384 / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.003586, allocations: 4.375 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.035e-05/0.003607, allocations: 19.92 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.803e-05/0.003665, allocations: 68.98 kB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.003767, allocations: 78.47 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.003802, allocations: 39.8 kB / 275.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.003809, allocations: 7.922 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.003828, allocations: 42.56 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.042e-06/0.003829, allocations: 0 / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001088/0.003938, allocations: 85.66 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.003979, allocations: 59.41 kB / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.537e-05/0.004044, allocations: 145.7 kB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.004053, allocations: 25.7 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.472e-05/0.004078, allocations: 104.4 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.027e-06/0.004087, allocations: 0 / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.004112, allocations: 29.64 kB / 276.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.299e-05/0.004175, allocations: 314.8 kB / 276.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.55e-06/0.004181, allocations: 7.938 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.429e-05/0.004195, allocations: 17.7 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.134e-05/0.004217, allocations: 17.7 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.004219, allocations: 4 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.081e-05/0.00426, allocations: 53.62 kB / 276.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.747e-06/0.004269, allocations: 4 kB / 276.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.004272, allocations: 0 / 276.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.186e-06/0.004281, allocations: 0 / 276.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.258e-06/0.00429, allocations: 4 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.004292, allocations: 0 / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-06/0.004301, allocations: 0 / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.004305, allocations: 0 / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($CLKPRE.unitDelay2.u,unitDelay2.u,$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 (4): * Single equations (assignments): 4 * 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 5.62e-05/0.004361, allocations: 128.5 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.00441, allocations: 77.59 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.004442, allocations: 17.19 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.004446, allocations: 4 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.004447, allocations: 0 / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.00445, allocations: 0 / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.078e-05/0.0045, allocations: 81.81 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.004501, allocations: 0 / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-06/0.00451, allocations: 7.984 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.004511, allocations: 0 / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.004517, allocations: 4 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.004518, allocations: 0 / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.004518, allocations: 7.938 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.492e-05/0.004553, allocations: 61.02 kB / 276.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.004581, allocations: 19.89 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.004595, allocations: 4 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.253e-05/0.004607, allocations: 4 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-06/0.00461, allocations: 0 / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.004614, allocations: 4 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.974e-05/0.004634, allocations: 28.77 kB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004634, allocations: 0 / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 9.205e-05/0.004726, allocations: 16 kB / 277 MB, free: 13.22 MB / 266.7 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 7.179e-05/0.004798, allocations: 103 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.839e-05/0.004856, allocations: 32.8 kB / 277.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.004858, allocations: 0 / 277.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.8e-07/0.004859, allocations: 0 / 277.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.005024, allocations: 78.45 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000197/0.005221, allocations: 192.5 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.376e-05/0.005254, allocations: 79.89 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.286e-05/0.005267, allocations: 4.484 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.005313, allocations: 59.5 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.005314, allocations: 4 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of Templates: time 0.002236/0.00755, allocations: 1.064 MB / 278.6 MB, free: 11.59 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4940693778917193]