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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 187.6 kB / 8.137 MB, free: 2.211 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.225/1.225, allocations: 221.4 MB / 229.9 MB, free: 3.062 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.000885/0.000885, allocations: 101.6 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.26e-06/5.29e-06, allocations: 0 / 336.5 MB, free: 9.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1876, allocations: 50.39 MB / 386.9 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07853/0.2662, allocations: 76 MB / 462.9 MB, free: 10.87 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.2664, allocations: 85.2 kB / 463 MB, free: 10.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.004331/0.2708, allocations: 1.398 MB / 464.4 MB, free: 9.402 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.2708, allocations: 0 / 464.4 MB, free: 9.402 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.0003353/0.2712, allocations: 378.8 kB / 464.8 MB, free: 8.988 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2712, allocations: 8.531 kB / 464.8 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.2713, allocations: 16.75 kB / 464.8 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.2715, allocations: 208.4 kB / 465 MB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.2715, allocations: 5.688 kB / 465 MB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.2715, allocations: 5.156 kB / 465 MB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001349/0.2717, allocations: 51.97 kB / 465 MB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.272, allocations: 222.9 kB / 465.3 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.272, allocations: 3.984 kB / 465.3 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2721, allocations: 4 kB / 465.3 MB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.2721, allocations: 4 kB / 465.3 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.2722, allocations: 158.1 kB / 465.4 MB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.2724, allocations: 136.6 kB / 465.6 MB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.2726, allocations: 79.45 kB / 465.6 MB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.2726, allocations: 8 kB / 465.6 MB, free: 8.012 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.2726, allocations: 32.12 kB / 465.7 MB, free: 7.973 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.877e-06/0.2726, allocations: 3.984 kB / 465.7 MB, free: 7.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002314/0.2729, allocations: 129.7 kB / 465.8 MB, free: 7.836 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.2729, allocations: 59.41 kB / 465.9 MB, free: 7.766 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.273, allocations: 140 kB / 466 MB, free: 7.621 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.2731, allocations: 27.58 kB / 466 MB, free: 7.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.2731, allocations: 92.39 kB / 466.1 MB, free: 7.492 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.2731, allocations: 12 kB / 466.1 MB, free: 7.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.2731, allocations: 0 / 466.1 MB, free: 7.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2732, allocations: 322.8 kB / 466.4 MB, free: 7.156 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.163e-05/0.2733, allocations: 19.98 kB / 466.5 MB, free: 7.137 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.398e-05/0.2734, allocations: 117.7 kB / 466.6 MB, free: 6.973 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.997e-05/0.2734, allocations: 39.92 kB / 466.6 MB, free: 6.934 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.2735, allocations: 3.906 kB / 466.6 MB, free: 6.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000198/0.2737, allocations: 137.3 kB / 466.8 MB, free: 6.789 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.2737, allocations: 4 kB / 466.8 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2737, allocations: 4 kB / 466.8 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2737, allocations: 4 kB / 466.8 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.2738, allocations: 35.92 kB / 466.8 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.2739, allocations: 10.73 kB / 466.8 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.145e-05/0.2739, allocations: 12.31 kB / 466.8 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.2739, allocations: 12 kB / 466.8 MB, free: 6.711 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 7.949e-05/0.274, allocations: 116.9 kB / 467 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.2742, allocations: 123.9 kB / 467.1 MB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.2743, allocations: 20.67 kB / 467.1 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2743, allocations: 0.6562 kB / 467.1 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2743, allocations: 0 / 467.1 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.2743, allocations: 3.906 kB / 467.1 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.2744, allocations: 162.8 kB / 467.3 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2744, allocations: 7.906 kB / 467.3 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.2746, allocations: 31.92 kB / 467.3 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.2746, allocations: 0 / 467.3 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.2746, allocations: 1.844 kB / 467.3 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2746, allocations: 0 / 467.3 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2746, allocations: 0 / 467.3 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002137/0.2748, allocations: 156.8 kB / 467.5 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.225e-05/0.2749, allocations: 104.8 kB / 467.6 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.2749, allocations: 7.984 kB / 467.6 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.496e-05/0.275, allocations: 1.312 kB / 467.6 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-06/0.275, allocations: 4 kB / 467.6 MB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.275, allocations: 3.938 kB / 467.6 MB, free: 5.898 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001115/0.2751, allocations: 114.1 kB / 467.7 MB, free: 5.789 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.2754, allocations: 16 kB / 467.7 MB, free: 5.773 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.0001311/0.2755, allocations: 104.1 kB / 467.8 MB, free: 5.664 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.2757, allocations: 87.84 kB / 467.9 MB, free: 5.578 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2757, allocations: 0 / 467.9 MB, free: 5.578 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-07/0.2757, allocations: 0 / 467.9 MB, free: 5.578 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.2761, allocations: 83.8 kB / 468 MB, free: 5.496 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.2764, allocations: 181 kB / 468.1 MB, free: 5.293 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/0.2768, allocations: 0.7391 MB / 468.9 MB, free: 4.527 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2768, allocations: 0 / 468.9 MB, free: 4.527 MB / 346.7 MB Notification: Performance of Templates: time 0.00357/0.2804, allocations: 1.206 MB / 470.1 MB, free: 3.359 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