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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001922/0.001922, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002434/0.002434, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.853/2.853, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 55.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6642/0.6659, allocations: 50.55 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.005541/0.6716, allocations: 0.9056 MB / 410.8 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007364/0.6724, allocations: 135.6 kB / 411 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/0.6727, allocations: 4 kB / 411 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.6729, allocations: 7.875 kB / 411 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.6732, allocations: 15.92 kB / 411 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.6738, allocations: 39.89 kB / 411 MB, free: 472 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.674, allocations: 63.83 kB / 411.1 MB, free: 408 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.6743, allocations: 44.2 kB / 411.1 MB, free: 360 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.28e-05/0.6744, allocations: 27.91 kB / 411.2 MB, free: 332 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.17e-05/0.6745, allocations: 35.73 kB / 411.2 MB, free: 296 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.6746, allocations: 4 kB / 411.2 MB, free: 292 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.85e-05/0.6746, allocations: 8 kB / 411.2 MB, free: 284 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.6748, allocations: 27.91 kB / 411.2 MB, free: 256 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.425e-05/0.6749, allocations: 35.75 kB / 411.3 MB, free: 220 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.6752, allocations: 79.62 kB / 411.4 MB, free: 140 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.6753, allocations: 8 kB / 411.4 MB, free: 132 kB / 318.1 MB Notification: Performance of FrontEnd: time 5.29e-06/0.6753, allocations: 0 / 411.4 MB, free: 132 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.6753, allocations: 0 / 411.4 MB, free: 132 kB / 318.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.001067/0.6764, allocations: 380.3 kB / 411.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.063e-05/0.6765, allocations: 12.03 kB / 411.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.6766, allocations: 12.75 kB / 411.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008036/0.6774, allocations: 216 kB / 412 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.6775, allocations: 4.375 kB / 412 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.6775, allocations: 16.38 kB / 412 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008239/0.6784, allocations: 217.8 kB / 412.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.6784, allocations: 192 / 412.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.6785, allocations: 7.938 kB / 412.2 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.6785, allocations: 0 / 412.2 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.6787, allocations: 39.98 kB / 412.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.679, allocations: 181.6 kB / 412.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.6795, allocations: 127 kB / 412.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.6797, allocations: 88.64 kB / 412.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.6798, allocations: 4 kB / 412.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/0.6798, allocations: 42.55 kB / 412.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.6799, allocations: 0 / 412.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005729/0.6804, allocations: 156.6 kB / 412.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.6806, allocations: 67.34 kB / 412.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.6808, allocations: 145.7 kB / 413 MB, free: 14.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.6809, allocations: 25.7 kB / 413.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.627e-05/0.681, allocations: 84.47 kB / 413.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.681, allocations: 15.98 kB / 413.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.6811, allocations: 41.7 kB / 413.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002759/0.6814, allocations: 318.8 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.936e-05/0.6815, allocations: 23.89 kB / 413.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.6817, allocations: 124.5 kB / 413.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.682, allocations: 149.5 kB / 413.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6821, allocations: 0 / 413.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003957/0.6825, allocations: 153.4 kB / 414 MB, free: 13.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.6825, allocations: 7.938 kB / 414 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.6825, allocations: 4 kB / 414 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/0.6826, allocations: 8 kB / 414 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.469e-05/0.6827, allocations: 15.92 kB / 414 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.6827, allocations: 7.938 kB / 414 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.6828, allocations: 4 kB / 414 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.6828, allocations: 12 kB / 414 MB, free: 13.15 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.0002513/0.6831, allocations: 150 kB / 414.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.6834, allocations: 121.4 kB / 414.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.58e-05/0.6835, allocations: 13.19 kB / 414.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.6836, allocations: 4 kB / 414.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.6836, allocations: 4 kB / 414.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.6836, allocations: 0 / 414.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.6839, allocations: 185.6 kB / 414.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.6839, allocations: 0 / 414.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.6839, allocations: 8 kB / 414.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.684, allocations: 7.922 kB / 414.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.684, allocations: 7.938 kB / 414.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.684, allocations: 7.938 kB / 414.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.684, allocations: 0 / 414.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.6844, allocations: 144.9 kB / 414.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.6846, allocations: 101 kB / 414.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.6846, allocations: 7.938 kB / 414.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.471e-05/0.6847, allocations: 8 kB / 414.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-06/0.6847, allocations: 0 / 414.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.6848, allocations: 7.938 kB / 414.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.6849, allocations: 103.3 kB / 414.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6849, allocations: 0 / 414.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004482/0.6854, allocations: 16 kB / 414.9 MB, free: 12.16 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.0002255/0.6856, allocations: 115.1 kB / 415 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003464/0.686, allocations: 99.3 kB / 415.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.686, allocations: 4 kB / 415.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.686, allocations: 0 / 415.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007058/0.6867, allocations: 78.91 kB / 415.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007229/0.6875, allocations: 260.3 kB / 415.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.688, allocations: 0.7123 MB / 416.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.7e-05/0.688, allocations: 15.44 kB / 416.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.6881, allocations: 0 / 416.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of Templates: time 0.005554/0.6936, allocations: 1.22 MB / 417.4 MB, free: 9.609 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches