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.001378/0.001378, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001366, allocations: 97.44 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 43.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2662, allocations: 50.46 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.00209/0.2684, allocations: 0.9541 MB / 408 MB, free: 26.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000301/0.2687, allocations: 135.6 kB / 408.1 MB, free: 26.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-05/0.2688, allocations: 3.938 kB / 408.2 MB, free: 26.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.2689, allocations: 11.94 kB / 408.2 MB, free: 26.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.2691, allocations: 11.91 kB / 408.2 MB, free: 26.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.2693, allocations: 43.11 kB / 408.2 MB, free: 26.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.2694, allocations: 71.81 kB / 408.3 MB, free: 26.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.2696, allocations: 43.34 kB / 408.3 MB, free: 26.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.2696, allocations: 19.88 kB / 408.3 MB, free: 26.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.417e-05/0.2697, allocations: 39.78 kB / 408.4 MB, free: 26.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.2697, allocations: 4 kB / 408.4 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/0.2697, allocations: 4 kB / 408.4 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.048e-05/0.2698, allocations: 35.89 kB / 408.4 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.2699, allocations: 43.67 kB / 408.5 MB, free: 26.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.2701, allocations: 87.64 kB / 408.6 MB, free: 26.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2701, allocations: 0 / 408.6 MB, free: 26.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2701, allocations: 0 / 408.6 MB, free: 26.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.2701, allocations: 0 / 408.6 MB, free: 26.34 MB / 298.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.000511/0.2706, allocations: 416.5 kB / 409 MB, free: 25.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2707, allocations: 8.031 kB / 409 MB, free: 25.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.2707, allocations: 12.84 kB / 409 MB, free: 25.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.2709, allocations: 209 kB / 409.2 MB, free: 25.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.2709, allocations: 12.38 kB / 409.2 MB, free: 25.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.2709, allocations: 4.375 kB / 409.2 MB, free: 25.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.2713, allocations: 242 kB / 409.4 MB, free: 25.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2713, allocations: 192 / 409.4 MB, free: 25.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.2713, allocations: 7.875 kB / 409.4 MB, free: 25.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.2713, allocations: 8 kB / 409.5 MB, free: 25.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.058e-05/0.2714, allocations: 43.97 kB / 409.5 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.2715, allocations: 193.6 kB / 409.7 MB, free: 25.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.2717, allocations: 149.3 kB / 409.8 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2719, allocations: 88.91 kB / 409.9 MB, free: 24.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.2719, allocations: 4 kB / 409.9 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.2719, allocations: 34.56 kB / 410 MB, free: 24.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.2719, allocations: 0 / 410 MB, free: 24.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.000271/0.2722, allocations: 177.6 kB / 410.1 MB, free: 24.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.2722, allocations: 67.34 kB / 410.2 MB, free: 24.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.2724, allocations: 160.4 kB / 410.4 MB, free: 24.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.2724, allocations: 29.64 kB / 410.4 MB, free: 24.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.2724, allocations: 104.4 kB / 410.5 MB, free: 24.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.2725, allocations: 8 kB / 410.5 MB, free: 24.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.2725, allocations: 37.7 kB / 410.5 MB, free: 24.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.459e-05/0.2726, allocations: 322.8 kB / 410.8 MB, free: 23.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.527e-05/0.2726, allocations: 27.89 kB / 410.9 MB, free: 23.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.818e-05/0.2727, allocations: 123.8 kB / 411 MB, free: 23.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.2728, allocations: 157.5 kB / 411.1 MB, free: 23.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2728, allocations: 0 / 411.1 MB, free: 23.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001583/0.273, allocations: 161.2 kB / 411.3 MB, free: 23.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.273, allocations: 4 kB / 411.3 MB, free: 23.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.273, allocations: 7.938 kB / 411.3 MB, free: 23.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.273, allocations: 4 kB / 411.3 MB, free: 23.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.2731, allocations: 35.92 kB / 411.4 MB, free: 23.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.2732, allocations: 7.938 kB / 411.4 MB, free: 23.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.199e-05/0.2732, allocations: 16.34 kB / 411.4 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.2732, allocations: 12 kB / 411.4 MB, free: 23.19 MB / 298.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,$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 8.083e-05/0.2733, allocations: 155.3 kB / 411.5 MB, free: 23.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.2734, allocations: 125.5 kB / 411.7 MB, free: 22.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.357e-05/0.2735, allocations: 29.11 kB / 411.7 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2735, allocations: 0 / 411.7 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.2735, allocations: 4 kB / 411.7 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2735, allocations: 0 / 411.7 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.189e-05/0.2736, allocations: 193.5 kB / 411.9 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2736, allocations: 4 kB / 411.9 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.55e-05/0.2737, allocations: 23.98 kB / 411.9 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2737, allocations: 0 / 411.9 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.2737, allocations: 11.94 kB / 411.9 MB, free: 22.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.2737, allocations: 3.984 kB / 411.9 MB, free: 22.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2737, allocations: 0 / 411.9 MB, free: 22.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.2741, allocations: 0.7837 MB / 412.7 MB, free: 21.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.2742, allocations: 97 kB / 412.8 MB, free: 21.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.2742, allocations: 8 kB / 412.8 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.955e-05/0.2742, allocations: 3.984 kB / 412.8 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-06/0.2742, allocations: 0 / 412.8 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.2742, allocations: 4 kB / 412.8 MB, free: 21.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.124e-05/0.2743, allocations: 121.3 kB / 412.9 MB, free: 21.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2743, allocations: 0 / 412.9 MB, free: 21.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003096/0.2746, allocations: 20 kB / 413 MB, free: 21.47 MB / 298.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 () * 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 9.125e-05/0.2747, allocations: 107.2 kB / 413.1 MB, free: 21.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.2749, allocations: 107.7 kB / 413.2 MB, free: 21.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2749, allocations: 1 kB / 413.2 MB, free: 21.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.2749, allocations: 3.938 kB / 413.2 MB, free: 21.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.2753, allocations: 106.9 kB / 413.3 MB, free: 21.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/0.2757, allocations: 434.8 kB / 413.7 MB, free: 20.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.2759, allocations: 0.7321 MB / 414.4 MB, free: 19.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.388e-05/0.2759, allocations: 5.094 kB / 414.4 MB, free: 19.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.2759, allocations: 11.44 kB / 414.5 MB, free: 19.9 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2759, allocations: 0 / 414.5 MB, free: 19.9 MB / 298.7 MB Notification: Performance of Templates: time 0.003097/0.279, allocations: 1.141 MB / 415.6 MB, free: 18.77 MB / 298.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@2/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