Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00124/0.00124, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00144/0.00144, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 55.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4353, allocations: 50.54 MB / 409.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002302/0.4377, allocations: 0.9046 MB / 410.1 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004137/0.4381, allocations: 139.6 kB / 410.3 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.262e-05/0.4382, allocations: 4 kB / 410.3 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.4383, allocations: 11.86 kB / 410.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.4385, allocations: 23.86 kB / 410.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.4388, allocations: 43.89 kB / 410.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.4389, allocations: 63.78 kB / 410.4 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.4391, allocations: 47.95 kB / 410.5 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.331e-05/0.4391, allocations: 31.91 kB / 410.5 MB, free: 484 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.343e-05/0.4392, allocations: 31.8 kB / 410.5 MB, free: 452 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.4393, allocations: 8 kB / 410.5 MB, free: 444 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.539e-05/0.4393, allocations: 4 kB / 410.5 MB, free: 440 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.332e-05/0.4394, allocations: 31.91 kB / 410.6 MB, free: 408 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.196e-05/0.4394, allocations: 43.67 kB / 410.6 MB, free: 364 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.4396, allocations: 95.58 kB / 410.7 MB, free: 268 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4396, allocations: 0 / 410.7 MB, free: 268 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4396, allocations: 7.938 kB / 410.7 MB, free: 260 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.4396, allocations: 0 / 410.7 MB, free: 260 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.0005938/0.4402, allocations: 408.4 kB / 411.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.4403, allocations: 8.031 kB / 411.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.4403, allocations: 16.75 kB / 411.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.4406, allocations: 216 kB / 411.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4406, allocations: 8.312 kB / 411.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.4406, allocations: 8.375 kB / 411.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.4411, allocations: 242.3 kB / 411.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.4411, allocations: 192 / 411.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.4411, allocations: 11.94 kB / 411.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.4411, allocations: 0 / 411.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.592e-05/0.4412, allocations: 51.91 kB / 411.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.4414, allocations: 189.5 kB / 411.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.4417, allocations: 150.9 kB / 412 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.4418, allocations: 88.81 kB / 412.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.4418, allocations: 0 / 412.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.4419, allocations: 38.5 kB / 412.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.4419, allocations: 0 / 412.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003294/0.4422, allocations: 180.6 kB / 412.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.4423, allocations: 63.34 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.4424, allocations: 161.3 kB / 412.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.4425, allocations: 33.64 kB / 412.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.4425, allocations: 88.47 kB / 412.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.4426, allocations: 19.83 kB / 412.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.4426, allocations: 37.72 kB / 412.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4427, allocations: 322.8 kB / 413 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/0.4428, allocations: 19.98 kB / 413 MB, free: 13.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.4429, allocations: 128.1 kB / 413.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.4431, allocations: 153.5 kB / 413.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.4431, allocations: 4 kB / 413.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001991/0.4433, allocations: 161.4 kB / 413.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.4433, allocations: 7.984 kB / 413.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4433, allocations: 7.938 kB / 413.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.4434, allocations: 8 kB / 413.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.4435, allocations: 35.92 kB / 413.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.4435, allocations: 7.984 kB / 413.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.784e-05/0.4436, allocations: 11.89 kB / 413.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.4436, allocations: 8 kB / 413.5 MB, free: 13.09 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 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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.0001392/0.4437, allocations: 153.9 kB / 413.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.4439, allocations: 133.5 kB / 413.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.095e-05/0.444, allocations: 21.12 kB / 413.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.444, allocations: 4 kB / 413.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.444, allocations: 0 / 413.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.444, allocations: 0 / 413.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.4441, allocations: 201.5 kB / 414.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4442, allocations: 0 / 414.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.4443, allocations: 27.98 kB / 414.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4443, allocations: 4 kB / 414.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.4443, allocations: 7.938 kB / 414.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4443, allocations: 0 / 414.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.4443, allocations: 0 / 414.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.4446, allocations: 160.9 kB / 414.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.4447, allocations: 108.8 kB / 414.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.4447, allocations: 11.94 kB / 414.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.405e-05/0.4447, allocations: 8 kB / 414.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-06/0.4448, allocations: 0 / 414.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.4448, allocations: 4 kB / 414.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.067e-05/0.4449, allocations: 114.3 kB / 414.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4449, allocations: 3.938 kB / 414.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.4451, allocations: 24 kB / 414.5 MB, free: 12.02 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,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.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.0001768/0.4453, allocations: 107.2 kB / 414.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.4455, allocations: 110.5 kB / 414.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4455, allocations: 0 / 414.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.4455, allocations: 0 / 414.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.446, allocations: 91.48 kB / 414.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/0.4464, allocations: 251.4 kB / 415.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.4468, allocations: 0.72 MB / 415.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.855e-05/0.4468, allocations: 13.08 kB / 415.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.4468, allocations: 15.44 kB / 415.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4468, allocations: 0 / 415.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of Templates: time 0.003759/0.4506, allocations: 1.163 MB / 417 MB, free: 9.523 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches