Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [: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.001433/0.001433, allocations: 195.1 kB / 8.537 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 225.5 MB / 234.4 MB, free: 3.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009446/0.0009447, allocations: 92.42 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.857e-06/8.897e-06, allocations: 4 kB / 343.1 MB, free: 8.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09929/0.09932, allocations: 51.48 MB / 394.6 MB, free: 5.203 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2603/0.3597, allocations: 76.38 MB / 471 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.36, allocations: 74.52 kB / 471.1 MB, free: 14.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.002742/0.3627, allocations: 0.9047 MB / 472 MB, free: 14.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.3628, allocations: 0 / 472 MB, free: 14.3 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002747/0.363, allocations: 339.2 kB / 472.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3631, allocations: 8.031 kB / 472.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.3631, allocations: 10.31 kB / 472.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.3633, allocations: 197 kB / 472.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.3633, allocations: 4 kB / 472.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/0.3633, allocations: 0 / 472.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.958e-05/0.3634, allocations: 26.05 kB / 472.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.3636, allocations: 109.4 kB / 472.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3636, allocations: 0 / 472.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3636, allocations: 4 kB / 472.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3636, allocations: 0 / 472.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.3639, allocations: 348 kB / 473 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.138e-05/0.364, allocations: 58.73 kB / 473.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.064e-05/0.364, allocations: 29.25 kB / 473.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.3641, allocations: 4 kB / 473.1 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.3641, allocations: 34.56 kB / 473.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.3641, allocations: 2.25 kB / 473.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001779/0.3643, allocations: 62.53 kB / 473.2 MB, free: 13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.3643, allocations: 109 kB / 473.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/0.3644, allocations: 128.2 kB / 473.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.3644, allocations: 25.7 kB / 473.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.3645, allocations: 91 kB / 473.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.855e-06/0.3645, allocations: 0 / 473.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.3645, allocations: 0 / 473.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.544e-05/0.3645, allocations: 318.1 kB / 473.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.3645, allocations: 15.12 kB / 473.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.038e-05/0.3646, allocations: 34.88 kB / 473.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.181e-05/0.3646, allocations: 14.78 kB / 473.9 MB, free: 12.26 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3646, allocations: 0 / 473.9 MB, free: 12.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.995e-05/0.3647, allocations: 52.55 kB / 474 MB, free: 12.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.3647, allocations: 8 kB / 474 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3647, allocations: 3.906 kB / 474 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3647, allocations: 4.125 kB / 474 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-05/0.3648, allocations: 4 kB / 474 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.3648, allocations: 0 / 474 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.3648, allocations: 7.375 kB / 474 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.3648, allocations: 0 / 474 MB, free: 12.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 4.858e-05/0.3649, allocations: 114.5 kB / 474.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-05/0.365, allocations: 48.38 kB / 474.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.365, allocations: 11.78 kB / 474.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.365, allocations: 3.188 kB / 474.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.365, allocations: 4 kB / 474.2 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.365, allocations: 3.906 kB / 474.2 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.3652, allocations: 147 kB / 474.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3652, allocations: 7.125 kB / 474.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.506e-06/0.3652, allocations: 0 / 474.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3652, allocations: 0 / 474.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.3652, allocations: 7.562 kB / 474.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3652, allocations: 0 / 474.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.3652, allocations: 7.219 kB / 474.3 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001085/0.3654, allocations: 260 kB / 474.6 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.3654, allocations: 98.73 kB / 474.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.3654, allocations: 3.984 kB / 474.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.3656, allocations: 8 kB / 474.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.3656, allocations: 4 kB / 474.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.3656, allocations: 3.234 kB / 474.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.611e-05/0.3657, allocations: 107.7 kB / 474.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002522/0.366, allocations: 4 kB / 474.8 MB, free: 11.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.142e-05/0.3661, allocations: 99.25 kB / 474.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.187e-05/0.3661, allocations: 30.94 kB / 474.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3661, allocations: 0 / 474.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.82e-05/0.3662, allocations: 7.25 kB / 474.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.3665, allocations: 30.86 kB / 475 MB, free: 11.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/0.3667, allocations: 111.7 kB / 475.1 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.3669, allocations: 0.7052 MB / 475.8 MB, free: 10.35 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3669, allocations: 4.281 kB / 475.8 MB, free: 10.35 MB / 346.7 MB Notification: Performance of Templates: time 0.002557/0.3695, allocations: 0.6101 MB / 476.4 MB, free: 10.02 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches