Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008042/0.0008042, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.001868, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006732/0.0006732, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000882/0.001555, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9851/0.9851, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1151/1.1, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.697e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002249/0.002266, allocations: 1.013 MB / 245.7 MB, free: 13.22 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000282/0.002548, allocations: 143.4 kB / 245.9 MB, free: 13.08 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.263e-05/0.002631, allocations: 0 / 245.9 MB, free: 13.08 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.402e-05/0.002695, allocations: 7.875 kB / 245.9 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.937e-05/0.002764, allocations: 23.84 kB / 245.9 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.002949, allocations: 39.84 kB / 245.9 MB, free: 13.01 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.003081, allocations: 63.83 kB / 246 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.003202, allocations: 24.22 kB / 246 MB, free: 12.92 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.497e-05/0.003287, allocations: 47.88 kB / 246.1 MB, free: 12.87 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.976e-05/0.003337, allocations: 15.92 kB / 246.1 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.003366, allocations: 4 kB / 246.1 MB, free: 12.85 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.704e-05/0.003384, allocations: 12 kB / 246.1 MB, free: 12.84 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.42e-05/0.003458, allocations: 23.92 kB / 246.1 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.003497, allocations: 15.94 kB / 246.1 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.003633, allocations: 63.64 kB / 246.2 MB, free: 12.74 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.003645, allocations: 0 / 246.2 MB, free: 12.74 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.003645, allocations: 0 / 246.2 MB, free: 12.74 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.003656, allocations: 0 / 246.2 MB, free: 12.74 MB / 250.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.0004035/0.004059, allocations: 312.1 kB / 246.5 MB, free: 12.41 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.004099, allocations: 8.031 kB / 246.5 MB, free: 12.4 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.004148, allocations: 16.92 kB / 246.5 MB, free: 12.38 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.004352, allocations: 148 kB / 246.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.004365, allocations: 12.31 kB / 246.7 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.004381, allocations: 4.375 kB / 246.7 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.004628, allocations: 163.5 kB / 246.8 MB, free: 12.03 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.004636, allocations: 192 / 246.8 MB, free: 12.03 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.004647, allocations: 8.359 kB / 246.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.004652, allocations: 384 / 246.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.31e-05/0.004686, allocations: 15.94 kB / 246.9 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.887e-05/0.004764, allocations: 76.92 kB / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.004909, allocations: 78.33 kB / 247 MB, free: 11.83 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.004963, allocations: 36.84 kB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.004976, allocations: 4 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.005002, allocations: 38.56 kB / 247.1 MB, free: 11.74 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 9.82e-07/0.005003, allocations: 0 / 247.1 MB, free: 11.74 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001716/0.005174, allocations: 101.3 kB / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.005242, allocations: 63.41 kB / 247.3 MB, free: 11.56 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.005345, allocations: 138.6 kB / 247.4 MB, free: 11.41 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.005362, allocations: 29.7 kB / 247.4 MB, free: 11.38 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.0054, allocations: 88.45 kB / 247.5 MB, free: 11.29 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.005413, allocations: 3.984 kB / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.005448, allocations: 25.66 kB / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.005547, allocations: 322.7 kB / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-06/0.005555, allocations: 4 kB / 247.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.005576, allocations: 21.7 kB / 247.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.358e-05/0.00561, allocations: 21.66 kB / 247.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.005612, allocations: 0 / 247.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.069e-05/0.005673, allocations: 41.69 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.005687, allocations: 8 kB / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.005692, allocations: 0 / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.005702, allocations: 0 / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.561e-05/0.005717, allocations: 7.922 kB / 247.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.005722, allocations: 4 kB / 248 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.61e-05/0.005738, allocations: 0 / 248 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.005743, allocations: 4.062 kB / 248 MB, free: 10.8 MB / 250.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 7.456e-05/0.005817, allocations: 120.6 kB / 248.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.719e-05/0.005894, allocations: 69.67 kB / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.005938, allocations: 21.11 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.00594, allocations: 4 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.005942, allocations: 0 / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.005945, allocations: 0 / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.097e-05/0.006016, allocations: 81.84 kB / 248.2 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.006017, allocations: 0 / 248.2 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.006036, allocations: 15.92 kB / 248.3 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.006078, allocations: 23.89 kB / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.006079, allocations: 0 / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.006087, allocations: 4 kB / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.006088, allocations: 0 / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.006089, allocations: 0 / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.064e-05/0.00614, allocations: 65 kB / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.00616, allocations: 4 kB / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/0.00618, allocations: 4 kB / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-06/0.006183, allocations: 0 / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.006188, allocations: 0 / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.001e-05/0.006218, allocations: 30.23 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006218, allocations: 7.938 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.006384, allocations: 12 kB / 248.4 MB, free: 10.29 MB / 250.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 9.291e-05/0.006477, allocations: 84.42 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.193e-05/0.006559, allocations: 36.78 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.006563, allocations: 0 / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.006564, allocations: 0 / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.006833, allocations: 162.7 kB / 248.7 MB, free: 9.98 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.007138, allocations: 212.7 kB / 248.9 MB, free: 9.746 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.915e-05/0.007187, allocations: 71.33 kB / 249 MB, free: 9.656 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.481e-05/0.007202, allocations: 4.5 kB / 249 MB, free: 9.652 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/0.007269, allocations: 59.38 kB / 249 MB, free: 9.594 MB / 250.7 MB Notification: Performance of SimCode: time 3.2e-07/0.007269, allocations: 3.938 kB / 249 MB, free: 9.59 MB / 250.7 MB Notification: Performance of Templates: time 0.003166/0.01043, allocations: 1.085 MB / 250.1 MB, free: 8.543 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.717348345555365]