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") [: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 trunk/package.mo): time 0.001143/0.001143, allocations: 204.4 kB / 8.543 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 225.5 MB / 234.4 MB, free: 3.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008796/0.0008796, allocations: 93.77 kB / 286.3 MB, free: 5.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.322e-06/6.432e-06, allocations: 0 / 343.1 MB, free: 8.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09919/0.09921, allocations: 51.47 MB / 394.6 MB, free: 5.176 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2839/0.3831, allocations: 76.8 MB / 471.4 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.3834, allocations: 74.38 kB / 471.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.003807/0.3872, allocations: 1.396 MB / 472.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.3872, allocations: 0 / 472.9 MB, free: 13.74 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.00027/0.3875, allocations: 376.2 kB / 473.3 MB, free: 13.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3875, allocations: 8.031 kB / 473.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.3876, allocations: 19.75 kB / 473.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.3878, allocations: 211.1 kB / 473.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3878, allocations: 4 kB / 473.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.3878, allocations: 4 kB / 473.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001131/0.3879, allocations: 52.11 kB / 473.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.3882, allocations: 211.8 kB / 473.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3882, allocations: 5.625 kB / 473.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3883, allocations: 0 / 473.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3883, allocations: 4 kB / 473.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001015/0.3884, allocations: 160.1 kB / 473.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.3886, allocations: 137.3 kB / 474.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.048e-05/0.3887, allocations: 79.72 kB / 474.1 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.3887, allocations: 8 kB / 474.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.3887, allocations: 30.56 kB / 474.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.3887, allocations: 3.938 kB / 474.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001963/0.3889, allocations: 124.2 kB / 474.3 MB, free: 12.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.389, allocations: 61.73 kB / 474.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.536e-05/0.3891, allocations: 152.3 kB / 474.5 MB, free: 12.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.3891, allocations: 25.7 kB / 474.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.666e-05/0.3891, allocations: 84.47 kB / 474.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.3892, allocations: 11.19 kB / 474.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.3892, allocations: 0 / 474.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.292e-05/0.3892, allocations: 324.6 kB / 474.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.554e-05/0.3893, allocations: 18.53 kB / 475 MB, free: 11.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.064e-05/0.3893, allocations: 120.3 kB / 475.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.822e-05/0.3894, allocations: 38.16 kB / 475.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3894, allocations: 0.5625 kB / 475.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001563/0.3895, allocations: 135.3 kB / 475.2 MB, free: 11.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3896, allocations: 8 kB / 475.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3896, allocations: 4 kB / 475.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3896, allocations: 4 kB / 475.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3897, allocations: 31.31 kB / 475.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.3897, allocations: 13.28 kB / 475.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.715e-05/0.3898, allocations: 11.84 kB / 475.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.3898, allocations: 18.83 kB / 475.3 MB, free: 11.41 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.125e-05/0.3899, allocations: 112.8 kB / 475.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.39, allocations: 124.7 kB / 475.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.3901, allocations: 15.38 kB / 475.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3901, allocations: 4.859 kB / 475.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3901, allocations: 3.906 kB / 475.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3901, allocations: 0 / 475.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.999e-05/0.3901, allocations: 166.7 kB / 475.8 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3902, allocations: 0 / 475.8 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.3903, allocations: 27.38 kB / 475.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3903, allocations: 3.141 kB / 475.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.3903, allocations: 3.984 kB / 475.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3903, allocations: 3.938 kB / 475.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3903, allocations: 0 / 475.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001492/0.3905, allocations: 166.5 kB / 476 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.3905, allocations: 103.3 kB / 476.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.3906, allocations: 6.922 kB / 476.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.065e-05/0.3906, allocations: 2.062 kB / 476.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-06/0.3906, allocations: 4 kB / 476.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.3906, allocations: 0 / 476.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.959e-05/0.3907, allocations: 110.3 kB / 476.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.3909, allocations: 16 kB / 476.2 MB, free: 10.61 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.129e-05/0.391, allocations: 109.6 kB / 476.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001528/0.3911, allocations: 89.23 kB / 476.4 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3912, allocations: 0 / 476.4 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.6e-07/0.3912, allocations: 0 / 476.4 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.3915, allocations: 87.77 kB / 476.5 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.3918, allocations: 181 kB / 476.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.3919, allocations: 0.7391 MB / 477.4 MB, free: 9.465 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3919, allocations: 0 / 477.4 MB, free: 9.465 MB / 346.7 MB Notification: Performance of Templates: time 0.003114/0.3951, allocations: 1.186 MB / 478.6 MB, free: 8.785 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