Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001343/0.001343, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 205.8 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.635/1.635, allocations: 230.4 MB / 250 MB, free: 9.004 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.84 kB / 367.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.405, allocations: 53.31 MB / 420.7 MB, free: 8.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002646/0.4076, allocations: 0.9012 MB / 421.6 MB, free: 7.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000446/0.408, allocations: 139.6 kB / 421.7 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.921e-05/0.4081, allocations: 3.938 kB / 421.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.4083, allocations: 23.86 kB / 421.7 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.4084, allocations: 7.875 kB / 421.7 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.4086, allocations: 51.94 kB / 421.8 MB, free: 7.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.4088, allocations: 59.78 kB / 421.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.4089, allocations: 35.97 kB / 421.9 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.715e-05/0.409, allocations: 35.84 kB / 421.9 MB, free: 7.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.791e-05/0.4091, allocations: 39.78 kB / 421.9 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.4091, allocations: 4 kB / 421.9 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.783e-05/0.4091, allocations: 8 kB / 422 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.664e-05/0.4092, allocations: 35.84 kB / 422 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.638e-05/0.4093, allocations: 39.73 kB / 422 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.4095, allocations: 95.38 kB / 422.1 MB, free: 6.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4095, allocations: 0 / 422.1 MB, free: 6.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4095, allocations: 0 / 422.1 MB, free: 6.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.4095, allocations: 0 / 422.1 MB, free: 6.898 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.0007198/0.4102, allocations: 422.8 kB / 422.5 MB, free: 6.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.4103, allocations: 8.031 kB / 422.5 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.4103, allocations: 16.84 kB / 422.6 MB, free: 6.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.4106, allocations: 212.1 kB / 422.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.4106, allocations: 8.375 kB / 422.8 MB, free: 6.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.4106, allocations: 8.375 kB / 422.8 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005098/0.4112, allocations: 250.3 kB / 423 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.4112, allocations: 192 / 423 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.4112, allocations: 3.938 kB / 423 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.4112, allocations: 0 / 423 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.515e-05/0.4113, allocations: 47.97 kB / 423.1 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.4115, allocations: 193.5 kB / 423.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.4118, allocations: 142.9 kB / 423.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.412, allocations: 79.78 kB / 423.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.412, allocations: 4 kB / 423.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.412, allocations: 38.48 kB / 423.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.412, allocations: 0 / 423.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004088/0.4125, allocations: 177.6 kB / 423.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.877e-05/0.4126, allocations: 67.41 kB / 423.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.4127, allocations: 161.7 kB / 423.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.4128, allocations: 29.7 kB / 424 MB, free: 4.871 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.4129, allocations: 96.45 kB / 424 MB, free: 4.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.4129, allocations: 11.94 kB / 424.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.413, allocations: 33.72 kB / 424.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.4132, allocations: 326.8 kB / 424.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.704e-05/0.4132, allocations: 19.98 kB / 424.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.4134, allocations: 136.3 kB / 424.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.4136, allocations: 149.5 kB / 424.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.4136, allocations: 0 / 424.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002734/0.4138, allocations: 161.2 kB / 424.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.4139, allocations: 8 kB / 424.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.4139, allocations: 7.938 kB / 424.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.4139, allocations: 8.484 kB / 424.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.414, allocations: 28 kB / 424.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/0.4141, allocations: 15.92 kB / 424.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.434e-05/0.4141, allocations: 11.95 kB / 424.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.4141, allocations: 11.98 kB / 425 MB, free: 3.742 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.000202/0.4143, allocations: 145.7 kB / 425.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.4146, allocations: 144.7 kB / 425.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.727e-05/0.4147, allocations: 21.12 kB / 425.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4147, allocations: 4 kB / 425.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4147, allocations: 3.938 kB / 425.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4147, allocations: 4 kB / 425.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.4149, allocations: 189.6 kB / 425.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4149, allocations: 0 / 425.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.415, allocations: 35.92 kB / 425.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.415, allocations: 0 / 425.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.415, allocations: 7.938 kB / 425.5 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.415, allocations: 0 / 425.5 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.415, allocations: 0 / 425.5 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.4153, allocations: 165 kB / 425.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.4154, allocations: 101 kB / 425.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.4154, allocations: 11.92 kB / 425.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.307e-05/0.4155, allocations: 4 kB / 425.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-06/0.4155, allocations: 0 / 425.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.4155, allocations: 4 kB / 425.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.4156, allocations: 115.2 kB / 425.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4156, allocations: 0 / 425.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000245/0.4159, allocations: 16 kB / 425.9 MB, free: 2.684 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.000167/0.416, allocations: 123.1 kB / 426 MB, free: 2.555 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.4163, allocations: 95.78 kB / 426.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4163, allocations: 1 kB / 426.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-07/0.4163, allocations: 0 / 426.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.4167, allocations: 95.91 kB / 426.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005427/0.4173, allocations: 246.2 kB / 426.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.4177, allocations: 0.7277 MB / 427.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.52e-05/0.4178, allocations: 9.078 kB / 427.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.4178, allocations: 19.44 kB / 427.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4178, allocations: 0 / 427.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of Templates: time 0.00481/0.4226, allocations: 1.167 MB / 428.4 MB, free: 204 kB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches