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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.0009965/0.0009965, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008448/0.0008449, allocations: 102.9 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.643e-05/1.646e-05, allocations: 4 kB / 343.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.105, allocations: 51.48 MB / 395.2 MB, free: 4.789 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.317/0.4221, allocations: 76.87 MB / 472 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.4224, allocations: 72.44 kB / 472.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004628/0.427, allocations: 1.716 MB / 473.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.427, allocations: 0 / 473.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.4271, allocations: 0 / 473.8 MB, free: 13.45 MB / 346.7 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.0002994/0.4274, allocations: 381.2 kB / 474.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.4274, allocations: 8.688 kB / 474.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.4275, allocations: 11.91 kB / 474.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.4277, allocations: 205.3 kB / 474.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.4277, allocations: 8.594 kB / 474.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.4277, allocations: 7.609 kB / 474.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001231/0.4278, allocations: 53.67 kB / 474.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.4282, allocations: 208 kB / 474.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.4282, allocations: 3.094 kB / 474.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.4282, allocations: 4 kB / 474.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4282, allocations: 0 / 474.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.4283, allocations: 162.6 kB / 474.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.4285, allocations: 128.1 kB / 475 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.6e-05/0.4286, allocations: 78.34 kB / 475.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.4287, allocations: 4 kB / 475.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.4287, allocations: 38.67 kB / 475.1 MB, free: 12.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.4287, allocations: 0 / 475.1 MB, free: 12.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002105/0.4289, allocations: 122.8 kB / 475.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.429, allocations: 60.09 kB / 475.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.4291, allocations: 147.2 kB / 475.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.4291, allocations: 25.7 kB / 475.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/0.4291, allocations: 92.7 kB / 475.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.4291, allocations: 6.359 kB / 475.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.4291, allocations: 4 kB / 475.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.126e-05/0.4292, allocations: 322.1 kB / 475.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.798e-05/0.4292, allocations: 19.89 kB / 475.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.431e-05/0.4293, allocations: 120.4 kB / 476 MB, free: 11.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.212e-05/0.4294, allocations: 41.33 kB / 476 MB, free: 11.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.4294, allocations: 0 / 476 MB, free: 11.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001598/0.4295, allocations: 142.7 kB / 476.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.4296, allocations: 4 kB / 476.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4296, allocations: 4 kB / 476.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4296, allocations: 8.703 kB / 476.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.4297, allocations: 30.8 kB / 476.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.4297, allocations: 5.5 kB / 476.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.287e-05/0.4298, allocations: 11.84 kB / 476.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.4298, allocations: 11.95 kB / 476.3 MB, free: 11.14 MB / 346.7 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,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.27e-05/0.4299, allocations: 125 kB / 476.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.43, allocations: 117.7 kB / 476.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.43, allocations: 18.5 kB / 476.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4301, allocations: 0.6094 kB / 476.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4301, allocations: 0 / 476.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4301, allocations: 0.7031 kB / 476.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.025e-05/0.4302, allocations: 168 kB / 476.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4302, allocations: 4.594 kB / 476.7 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.4303, allocations: 38.31 kB / 476.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4303, allocations: 0 / 476.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.4303, allocations: 0 / 476.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4303, allocations: 0 / 476.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4303, allocations: 3.562 kB / 476.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.4305, allocations: 155.8 kB / 476.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.4305, allocations: 104.9 kB / 477 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.4306, allocations: 1.312 kB / 477 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.996e-05/0.4306, allocations: 8 kB / 477 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-06/0.4306, allocations: 5.344 kB / 477 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.4306, allocations: 4 kB / 477 MB, free: 10.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.991e-05/0.4307, allocations: 115.5 kB / 477.1 MB, free: 10.35 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4307, allocations: 0 / 477.1 MB, free: 10.35 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002084/0.4309, allocations: 12 kB / 477.1 MB, free: 10.34 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.421e-05/0.431, allocations: 104.6 kB / 477.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.4311, allocations: 91.22 kB / 477.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4312, allocations: 0 / 477.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-07/0.4312, allocations: 0 / 477.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.4314, allocations: 81.62 kB / 477.4 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.4318, allocations: 174.1 kB / 477.6 MB, free: 9.961 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.4319, allocations: 0.729 MB / 478.3 MB, free: 9.227 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.272e-05/0.432, allocations: 6.906 kB / 478.3 MB, free: 9.219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.432, allocations: 16.8 kB / 478.3 MB, free: 9.203 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.432, allocations: 0 / 478.3 MB, free: 9.203 MB / 346.7 MB Notification: Performance of Templates: time 0.002963/0.435, allocations: 0.9952 MB / 479.3 MB, free: 8.641 MB / 346.7 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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches