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.001653/0.001653, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.002213/0.002213, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.451/1.451, allocations: 230.2 MB / 255.1 MB, free: 15.39 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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",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.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 59.91 kB / 374.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.105, allocations: 53.32 MB / 427.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002449/0.1074, allocations: 0.9095 MB / 428.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003903/0.1078, allocations: 135.6 kB / 428.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.1079, allocations: 0 / 428.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.108, allocations: 15.86 kB / 428.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.81e-05/0.1081, allocations: 15.81 kB / 428.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.1083, allocations: 39.95 kB / 428.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.1085, allocations: 63.83 kB / 429 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1086, allocations: 28.22 kB / 429 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.55e-05/0.1087, allocations: 31.84 kB / 429.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.981e-05/0.1087, allocations: 31.84 kB / 429.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.1087, allocations: 12 kB / 429.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.1088, allocations: 4 kB / 429.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.485e-05/0.1088, allocations: 23.86 kB / 429.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.1089, allocations: 43.67 kB / 429.2 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.109, allocations: 83.58 kB / 429.3 MB, free: 3.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1091, allocations: 3.938 kB / 429.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1091, allocations: 0 / 429.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1091, allocations: 0 / 429.3 MB, free: 3.07 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004997/0.1096, allocations: 399 kB / 429.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1096, allocations: 8.031 kB / 429.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.1096, allocations: 16.89 kB / 429.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.1099, allocations: 204.2 kB / 429.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1099, allocations: 8.375 kB / 429.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.11, allocations: 4.375 kB / 429.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/0.1104, allocations: 230 kB / 430.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1104, allocations: 192 / 430.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.1104, allocations: 7.922 kB / 430.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1104, allocations: 0 / 430.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.991e-05/0.1105, allocations: 35.98 kB / 430.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.1107, allocations: 189.5 kB / 430.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.1109, allocations: 122.6 kB / 430.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.1111, allocations: 74.89 kB / 430.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.1111, allocations: 0 / 430.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.1111, allocations: 38.48 kB / 430.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 9.62e-07/0.1111, allocations: 0 / 430.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003149/0.1114, allocations: 161.4 kB / 430.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.1115, allocations: 65.09 kB / 430.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.1116, allocations: 140 kB / 430.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1117, allocations: 33.7 kB / 431 MB, free: 1.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.1117, allocations: 88.45 kB / 431.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.1117, allocations: 8 kB / 431.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/0.1118, allocations: 41.66 kB / 431.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.112, allocations: 322.8 kB / 431.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.925e-05/0.112, allocations: 19.98 kB / 431.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.1121, allocations: 115.5 kB / 431.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.1123, allocations: 153.5 kB / 431.7 MB, free: 328 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1123, allocations: 0 / 431.7 MB, free: 328 kB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000223/0.1125, allocations: 157.2 kB / 431.9 MB, free: 164 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1125, allocations: 7.938 kB / 431.9 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1125, allocations: 4 kB / 431.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1126, allocations: 4.5 kB / 431.9 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.249e-05/0.1126, allocations: 27.86 kB / 431.9 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1126, allocations: 4 kB / 431.9 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.329e-05/0.1127, allocations: 11.89 kB / 431.9 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.1127, allocations: 11.98 kB / 431.9 MB, free: 92 kB / 350.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.0001462/0.1128, allocations: 145.8 kB / 432.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.113, allocations: 117.5 kB / 432.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.176e-05/0.1131, allocations: 17.19 kB / 432.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1131, allocations: 4 kB / 432.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1131, allocations: 4 kB / 432.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1131, allocations: 3.984 kB / 432.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.1132, allocations: 185.5 kB / 432.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1132, allocations: 3.984 kB / 432.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.1133, allocations: 7.938 kB / 432.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1133, allocations: 3.938 kB / 432.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1133, allocations: 4 kB / 432.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1133, allocations: 0 / 432.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1133, allocations: 4 kB / 432.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.1135, allocations: 151 kB / 432.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.97e-05/0.1136, allocations: 104.9 kB / 432.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.1136, allocations: 3.938 kB / 432.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.809e-05/0.1136, allocations: 11.94 kB / 432.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-06/0.1136, allocations: 0 / 432.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.1136, allocations: 3.938 kB / 432.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.1138, allocations: 113.7 kB / 432.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1138, allocations: 4 kB / 432.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.114, allocations: 20 kB / 432.8 MB, free: 15.09 MB / 366.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.0001342/0.1141, allocations: 107.2 kB / 432.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.1143, allocations: 88.72 kB / 433 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1143, allocations: 0 / 433 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.1143, allocations: 0 / 433 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.1147, allocations: 76.05 kB / 433.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/0.1152, allocations: 257.7 kB / 433.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.1155, allocations: 0.7162 MB / 434.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.1156, allocations: 11.44 kB / 434.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1156, allocations: 0 / 434.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of Templates: time 0.003106/0.1187, allocations: 1.206 MB / 435.3 MB, free: 12.57 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 6.932532479986548]