Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009055/0.0009055, allocations: 175.9 kB / 8.348 MB, free: 0.7188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 221.5 MB / 230.3 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008821/0.0008824, allocations: 87.55 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.66e-05/1.655e-05, allocations: 0 / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1011, allocations: 50.43 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.313/0.4141, allocations: 76.07 MB / 463.5 MB, free: 2.766 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.4144, allocations: 71.95 kB / 463.6 MB, free: 2.695 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004587/0.419, allocations: 1.712 MB / 465.3 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4191, allocations: 0 / 465.3 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.4191, allocations: 0 / 465.3 MB, free: 0.9844 MB / 330.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.0004051/0.4195, allocations: 390.8 kB / 465.7 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.4195, allocations: 8.031 kB / 465.7 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.4196, allocations: 11.91 kB / 465.7 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.4198, allocations: 213.1 kB / 465.9 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4199, allocations: 4 kB / 465.9 MB, free: 296 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.4199, allocations: 7.938 kB / 465.9 MB, free: 288 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001334/0.42, allocations: 47.98 kB / 466 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.4204, allocations: 220.3 kB / 466.2 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4204, allocations: 0 / 466.2 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.4204, allocations: 4 kB / 466.2 MB, free: 4 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.4204, allocations: 0 / 466.2 MB, free: 4 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.4206, allocations: 166.1 kB / 466.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.4208, allocations: 134.2 kB / 466.5 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.4209, allocations: 76.92 kB / 466.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.421, allocations: 4 kB / 466.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.421, allocations: 34.56 kB / 466.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.421, allocations: 0 / 466.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002497/0.4213, allocations: 125.7 kB / 466.7 MB, free: 15.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.4214, allocations: 68.97 kB / 466.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.4215, allocations: 144.8 kB / 466.9 MB, free: 15.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.4216, allocations: 25.7 kB / 467 MB, free: 15.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.4216, allocations: 92.47 kB / 467.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.4217, allocations: 3.984 kB / 467.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.4217, allocations: 0 / 467.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4218, allocations: 326.8 kB / 467.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.041e-05/0.4219, allocations: 16 kB / 467.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.921e-05/0.422, allocations: 113.7 kB / 467.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.961e-05/0.422, allocations: 39.92 kB / 467.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4221, allocations: 7.953 kB / 467.6 MB, free: 14.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001913/0.4223, allocations: 137.2 kB / 467.7 MB, free: 14.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4223, allocations: 7.938 kB / 467.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.4223, allocations: 8.484 kB / 467.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.4223, allocations: 12 kB / 467.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.4225, allocations: 27.94 kB / 467.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.4225, allocations: 11.92 kB / 467.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.712e-05/0.4226, allocations: 7.938 kB / 467.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.4226, allocations: 9.5 kB / 467.8 MB, free: 14.29 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 0.0001199/0.4227, allocations: 116.9 kB / 467.9 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.4229, allocations: 130.9 kB / 468 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.29e-05/0.4229, allocations: 20.75 kB / 468 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.4229, allocations: 0 / 468 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4229, allocations: 0 / 468 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.423, allocations: 3.984 kB / 468 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.4231, allocations: 158.1 kB / 468.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.4231, allocations: 0 / 468.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.4232, allocations: 27.98 kB / 468.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.4232, allocations: 3.953 kB / 468.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.4233, allocations: 0 / 468.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.4233, allocations: 4 kB / 468.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4233, allocations: 0 / 468.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.4235, allocations: 162.4 kB / 468.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.306e-05/0.4236, allocations: 104.8 kB / 468.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.4236, allocations: 3.953 kB / 468.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.783e-05/0.4236, allocations: 4 kB / 468.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-06/0.4237, allocations: 0 / 468.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.4237, allocations: 11.98 kB / 468.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.766e-05/0.4238, allocations: 107.3 kB / 468.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4238, allocations: 4 kB / 468.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.424, allocations: 12 kB / 468.6 MB, free: 13.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 0.0001821/0.4242, allocations: 111.2 kB / 468.7 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.4244, allocations: 92.66 kB / 468.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4244, allocations: 0 / 468.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.12e-07/0.4244, allocations: 0 / 468.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.4247, allocations: 80 kB / 468.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.4251, allocations: 176.7 kB / 469.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.4254, allocations: 0.7239 MB / 469.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.565e-05/0.4254, allocations: 5.219 kB / 469.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.4255, allocations: 23.42 kB / 469.8 MB, free: 12.08 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4255, allocations: 3.938 kB / 469.8 MB, free: 12.08 MB / 346.7 MB Notification: Performance of Templates: time 0.003109/0.4286, allocations: 0.981 MB / 470.8 MB, free: 11.11 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches