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.001542/0.001543, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001878/0.001878, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.89 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.368, allocations: 50.55 MB / 409.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002755/0.3709, allocations: 0.8977 MB / 410.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004581/0.3713, allocations: 131.6 kB / 410.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.3715, allocations: 7.938 kB / 410.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.3716, allocations: 3.938 kB / 410.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.3717, allocations: 11.86 kB / 410.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.3721, allocations: 43.91 kB / 410.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.3722, allocations: 67.81 kB / 410.4 MB, free: 468 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.3724, allocations: 44.2 kB / 410.4 MB, free: 420 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.065e-05/0.3724, allocations: 19.92 kB / 410.5 MB, free: 400 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.596e-05/0.3725, allocations: 39.73 kB / 410.5 MB, free: 360 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.3725, allocations: 4 kB / 410.5 MB, free: 356 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.433e-05/0.3725, allocations: 8 kB / 410.5 MB, free: 348 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.032e-05/0.3726, allocations: 27.91 kB / 410.5 MB, free: 320 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.111e-05/0.3727, allocations: 35.73 kB / 410.6 MB, free: 284 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.3729, allocations: 87.58 kB / 410.7 MB, free: 196 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3729, allocations: 0 / 410.7 MB, free: 196 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3729, allocations: 0 / 410.7 MB, free: 196 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.3729, allocations: 4 kB / 410.7 MB, free: 192 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.0005352/0.3735, allocations: 384.3 kB / 411 MB, free: 15.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.3735, allocations: 12.03 kB / 411.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.3736, allocations: 16.75 kB / 411.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.3739, allocations: 207 kB / 411.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.3739, allocations: 8.375 kB / 411.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.3739, allocations: 12.36 kB / 411.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000452/0.3744, allocations: 221.5 kB / 411.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3744, allocations: 192 / 411.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.3744, allocations: 7.875 kB / 411.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.3745, allocations: 4 kB / 411.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.99e-05/0.3746, allocations: 51.55 kB / 411.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.3748, allocations: 181.6 kB / 411.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.375, allocations: 127 kB / 411.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.3752, allocations: 84.77 kB / 412 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.3752, allocations: 0 / 412 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.3752, allocations: 30.56 kB / 412 MB, free: 14.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.3752, allocations: 4 kB / 412 MB, free: 14.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003202/0.3755, allocations: 153.4 kB / 412.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.3756, allocations: 67.34 kB / 412.2 MB, free: 14.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.3758, allocations: 145.7 kB / 412.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.3758, allocations: 33.64 kB / 412.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.3759, allocations: 84.47 kB / 412.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.3759, allocations: 11.98 kB / 412.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.426e-05/0.376, allocations: 37.7 kB / 412.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3761, allocations: 322.8 kB / 412.8 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.707e-05/0.3762, allocations: 23.91 kB / 412.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.3763, allocations: 116.5 kB / 413 MB, free: 13.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.3765, allocations: 157.5 kB / 413.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3765, allocations: 4 kB / 413.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002394/0.3767, allocations: 153.2 kB / 413.3 MB, free: 13.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3767, allocations: 8.438 kB / 413.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3768, allocations: 4 kB / 413.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.3768, allocations: 8 kB / 413.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.129e-05/0.3768, allocations: 15.94 kB / 413.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.3769, allocations: 11.97 kB / 413.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.529e-05/0.3769, allocations: 4 kB / 413.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.3769, allocations: 8 kB / 413.3 MB, free: 13.2 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.0001309/0.3771, allocations: 145.7 kB / 413.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.3772, allocations: 128.3 kB / 413.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.086e-05/0.3773, allocations: 21.17 kB / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3773, allocations: 4 kB / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3773, allocations: 3.938 kB / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3773, allocations: 0 / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.3775, allocations: 185.6 kB / 413.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3775, allocations: 0 / 413.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.3775, allocations: 4 kB / 413.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-06/0.3775, allocations: 3.938 kB / 413.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.3776, allocations: 4 kB / 413.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3776, allocations: 3.984 kB / 413.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3776, allocations: 4 kB / 413.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.3778, allocations: 152.8 kB / 414 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.3779, allocations: 97 kB / 414.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.3779, allocations: 15.92 kB / 414.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.3779, allocations: 4 kB / 414.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-06/0.3779, allocations: 0 / 414.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3779, allocations: 4 kB / 414.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.94e-05/0.378, allocations: 103.3 kB / 414.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.378, allocations: 4 kB / 414.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.3783, allocations: 16 kB / 414.2 MB, free: 12.21 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.0001297/0.3784, allocations: 111.2 kB / 414.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.3786, allocations: 96.41 kB / 414.4 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.3786, allocations: 4.312 kB / 414.4 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.3786, allocations: 0 / 414.4 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.3791, allocations: 86.42 kB / 414.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/0.3795, allocations: 225.6 kB / 414.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.3798, allocations: 0.7162 MB / 415.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.411e-05/0.3799, allocations: 12.58 kB / 415.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.3799, allocations: 11.44 kB / 415.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3799, allocations: 4 kB / 415.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of Templates: time 0.003833/0.3838, allocations: 1.028 MB / 416.5 MB, free: 9.887 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/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