Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 95.81 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001883/0.001883, allocations: 208.3 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.63/1.63, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.0003023, allocations: 4 kB / 306.6 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1509, allocations: 51.49 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002247/0.1532, allocations: 1.238 MB / 359.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005088/0.1538, allocations: 143.5 kB / 359.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.1539, allocations: 8 kB / 359.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.154, allocations: 3.938 kB / 359.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.525e-05/0.1541, allocations: 7.984 kB / 359.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.1544, allocations: 31.91 kB / 359.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.1546, allocations: 31.91 kB / 359.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.1547, allocations: 11.97 kB / 359.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.96e-05/0.1548, allocations: 15.92 kB / 359.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.48e-05/0.1549, allocations: 19.92 kB / 359.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1549, allocations: 0 / 359.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.1549, allocations: 3.938 kB / 359.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.611e-05/0.155, allocations: 12 kB / 359.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.155, allocations: 33.64 kB / 359.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.151e-05/0.1551, allocations: 39.92 kB / 359.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1551, allocations: 0 / 359.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1551, allocations: 0 / 359.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1551, allocations: 0 / 359.7 MB, free: 12.54 MB / 302.1 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.0006079/0.1558, allocations: 387.2 kB / 360 MB, free: 12.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.1558, allocations: 8.031 kB / 360 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.1559, allocations: 11.84 kB / 360.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.1561, allocations: 190.8 kB / 360.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1562, allocations: 4 kB / 360.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.1562, allocations: 7.984 kB / 360.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.1565, allocations: 129.9 kB / 360.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1565, allocations: 0 / 360.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1566, allocations: 0 / 360.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.1566, allocations: 4 kB / 360.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.1567, allocations: 47.91 kB / 360.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.1572, allocations: 373.8 kB / 360.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.1574, allocations: 83.78 kB / 360.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.1574, allocations: 0 / 360.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.1575, allocations: 42.62 kB / 360.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.1575, allocations: 0 / 360.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004473/0.158, allocations: 198.9 kB / 361.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/0.158, allocations: 106.8 kB / 361.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.1582, allocations: 148.3 kB / 361.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1582, allocations: 29.7 kB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.376e-05/0.1583, allocations: 88.12 kB / 361.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.1583, allocations: 4 kB / 361.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/0.1583, allocations: 4 kB / 361.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1585, allocations: 314.8 kB / 361.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-05/0.1586, allocations: 27.92 kB / 361.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1587, allocations: 47.41 kB / 361.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.767e-05/0.1588, allocations: 27.92 kB / 361.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1588, allocations: 0 / 361.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001811/0.159, allocations: 85.52 kB / 362 MB, free: 9.918 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.159, allocations: 12.12 kB / 362 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.159, allocations: 0 / 362 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.159, allocations: 0 / 362 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/0.1592, allocations: 15.98 kB / 362 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1592, allocations: 0 / 362 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.608e-05/0.1592, allocations: 11.98 kB / 362 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1592, allocations: 4 kB / 362 MB, free: 9.875 MB / 302.1 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[2],sample1.u[1],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked 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 0.0001655/0.1594, allocations: 129.7 kB / 362.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.359e-05/0.1595, allocations: 53.59 kB / 362.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.952e-05/0.1596, allocations: 15.83 kB / 362.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.1596, allocations: 7.984 kB / 362.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1596, allocations: 3.938 kB / 362.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1596, allocations: 0 / 362.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.1599, allocations: 177.6 kB / 362.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1599, allocations: 4 kB / 362.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.16, allocations: 7.984 kB / 362.4 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.16, allocations: 8.031 kB / 362.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.16, allocations: 0 / 362.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.16, allocations: 0 / 362.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.16, allocations: 7.938 kB / 362.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.1603, allocations: 295 kB / 362.7 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.1604, allocations: 93 kB / 362.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.1604, allocations: 0 / 362.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1605, allocations: 8 kB / 362.8 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.1606, allocations: 8.078 kB / 362.8 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1606, allocations: 4 kB / 362.8 MB, free: 8.949 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.035e-05/0.1607, allocations: 111.2 kB / 362.9 MB, free: 8.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1607, allocations: 0 / 362.9 MB, free: 8.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.161, allocations: 8 kB / 362.9 MB, free: 8.832 MB / 302.1 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[2],sample1.u[1],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001516/0.1611, allocations: 103.2 kB / 363 MB, free: 8.723 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.1613, allocations: 55.95 kB / 363.1 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1614, allocations: 3.938 kB / 363.1 MB, free: 8.664 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.849e-05/0.1614, allocations: 23.92 kB / 363.1 MB, free: 8.641 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.1618, allocations: 35.14 kB / 363.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004725/0.1623, allocations: 190.9 kB / 363.3 MB, free: 8.383 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.1627, allocations: 0.6926 MB / 364 MB, free: 7.664 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.6e-05/0.1628, allocations: 11.98 kB / 364.1 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.1628, allocations: 15.44 kB / 364.1 MB, free: 7.637 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1628, allocations: 3.938 kB / 364.1 MB, free: 7.633 MB / 302.1 MB Notification: Performance of Templates: time 0.003289/0.1661, allocations: 0.5349 MB / 364.6 MB, free: 7.113 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches