Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002041/0.002041, allocations: 155.7 kB / 24.48 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 173.4 MB / 201.1 MB, free: 12.71 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.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.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 47.55 kB / 319.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08882/0.09038, allocations: 52.16 MB / 371.6 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002263/0.09265, allocations: 0.9321 MB / 372.5 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003475/0.09299, allocations: 131.6 kB / 372.6 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.436e-05/0.09307, allocations: 0 / 372.6 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.695e-05/0.09316, allocations: 19.86 kB / 372.6 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.607e-05/0.09323, allocations: 7.875 kB / 372.7 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.09343, allocations: 47.94 kB / 372.7 MB, free: 6.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.09355, allocations: 67.72 kB / 372.8 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.09367, allocations: 32.14 kB / 372.8 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.171e-05/0.09371, allocations: 23.92 kB / 372.8 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.844e-05/0.09376, allocations: 31.78 kB / 372.9 MB, free: 6.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.09377, allocations: 4 kB / 372.9 MB, free: 6.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.563e-05/0.09379, allocations: 8 kB / 372.9 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.242e-05/0.09385, allocations: 23.92 kB / 372.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.0939, allocations: 31.8 kB / 372.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.09404, allocations: 83.58 kB / 373 MB, free: 5.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.09404, allocations: 0 / 373 MB, free: 5.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.09404, allocations: 3.938 kB / 373 MB, free: 5.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.09405, allocations: 0 / 373 MB, free: 5.934 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.0003978/0.09444, allocations: 317.9 kB / 373.3 MB, free: 5.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.09447, allocations: 8.922 kB / 373.3 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.09451, allocations: 12.84 kB / 373.3 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.09473, allocations: 150.3 kB / 373.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.09475, allocations: 12.38 kB / 373.5 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.09476, allocations: 8.375 kB / 373.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.09514, allocations: 215.2 kB / 373.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.09515, allocations: 192 / 373.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.09516, allocations: 7.938 kB / 373.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.09517, allocations: 4 kB / 373.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.943e-05/0.09524, allocations: 35.98 kB / 373.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.09536, allocations: 113.3 kB / 373.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.09563, allocations: 122.6 kB / 374 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.09575, allocations: 84.69 kB / 374.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.09576, allocations: 0 / 374.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.0958, allocations: 42.5 kB / 374.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 8.51e-07/0.0958, allocations: 0 / 374.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.00027/0.09607, allocations: 153.4 kB / 374.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.09614, allocations: 67.34 kB / 374.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.09626, allocations: 141.8 kB / 374.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.09627, allocations: 29.7 kB / 374.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.09633, allocations: 84.47 kB / 374.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.09635, allocations: 15.94 kB / 374.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.0964, allocations: 41.7 kB / 374.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.09654, allocations: 314.8 kB / 374.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.738e-05/0.09658, allocations: 23.98 kB / 375 MB, free: 3.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.0967, allocations: 128.6 kB / 375.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.09686, allocations: 145.5 kB / 375.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.09687, allocations: 4 kB / 375.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002253/0.09709, allocations: 161.2 kB / 375.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.0971, allocations: 4 kB / 375.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.09711, allocations: 4.5 kB / 375.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.09712, allocations: 11.94 kB / 375.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.696e-05/0.09715, allocations: 11.94 kB / 375.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.09716, allocations: 4 kB / 375.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.519e-05/0.09721, allocations: 7.984 kB / 375.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.09723, allocations: 15.98 kB / 375.5 MB, free: 3.211 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.000122/0.09735, allocations: 137.7 kB / 375.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.09751, allocations: 113.6 kB / 375.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.436e-05/0.09755, allocations: 25.05 kB / 375.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.09756, allocations: 8 kB / 375.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.09756, allocations: 0 / 375.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.09756, allocations: 0 / 375.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.09767, allocations: 117.2 kB / 375.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.09768, allocations: 7.984 kB / 375.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.0977, allocations: 3.938 kB / 375.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.0977, allocations: 3.938 kB / 375.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.09771, allocations: 8 kB / 375.9 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.09771, allocations: 3.938 kB / 375.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.09771, allocations: 0 / 375.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.09791, allocations: 156.5 kB / 376 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.09796, allocations: 23.94 kB / 376.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.09798, allocations: 0 / 376.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.506e-05/0.098, allocations: 11.94 kB / 376.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-06/0.098, allocations: 0 / 376.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.09801, allocations: 4 kB / 376.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.291e-05/0.09808, allocations: 107.2 kB / 376.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09809, allocations: 0 / 376.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.09831, allocations: 16 kB / 376.2 MB, free: 2.418 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.0001094/0.09842, allocations: 115.2 kB / 376.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.09859, allocations: 91.72 kB / 376.4 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.09859, allocations: 0 / 376.4 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.09859, allocations: 0 / 376.4 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.09893, allocations: 71.98 kB / 376.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.09928, allocations: 238.1 kB / 376.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.641e-05/0.09938, allocations: 112.7 kB / 376.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.023e-05/0.0994, allocations: 8.656 kB / 376.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.09943, allocations: 16.5 kB / 376.8 MB, free: 1.715 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.09943, allocations: 0 / 376.8 MB, free: 1.715 MB / 334.1 MB Notification: Performance of Templates: time 0.003517/0.1029, allocations: 1.13 MB / 378 MB, free: 0.6094 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.135672557982616]