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.001343/0.001343, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 60.31 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1594, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.004187/0.1637, allocations: 1.536 MB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005601/0.1643, allocations: 147.5 kB / 360.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1644, allocations: 0 / 360.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.1645, allocations: 3.938 kB / 360.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.1647, allocations: 15.92 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.165, allocations: 31.84 kB / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.1652, allocations: 43.84 kB / 360.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.1654, allocations: 23.98 kB / 360.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.826e-05/0.1654, allocations: 15.92 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.402e-05/0.1655, allocations: 23.84 kB / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.1656, allocations: 4 kB / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.1656, allocations: 4 kB / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.882e-05/0.1657, allocations: 15.94 kB / 360.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.987e-05/0.1657, allocations: 31.8 kB / 360.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.1659, allocations: 59.69 kB / 360.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1659, allocations: 0 / 360.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.1659, allocations: 0 / 360.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.166, allocations: 0 / 360.9 MB, free: 11.4 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.0006834/0.1667, allocations: 383 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.1667, allocations: 12.03 kB / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.1668, allocations: 12.78 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.1672, allocations: 198.6 kB / 361.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1672, allocations: 384 / 361.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.1672, allocations: 8.375 kB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.1676, allocations: 130.4 kB / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1676, allocations: 192 / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1677, allocations: 15.88 kB / 361.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/0.1677, allocations: 0 / 361.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.1679, allocations: 35.91 kB / 361.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.1685, allocations: 369.8 kB / 362 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.1687, allocations: 83.77 kB / 362.1 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.1688, allocations: 38.56 kB / 362.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1688, allocations: 4 kB / 362.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.1689, allocations: 38.56 kB / 362.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.1689, allocations: 0 / 362.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004594/0.1694, allocations: 105.5 kB / 362.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.669e-05/0.1695, allocations: 107.1 kB / 362.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.1696, allocations: 149.8 kB / 362.5 MB, free: 9.496 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.1697, allocations: 25.7 kB / 362.5 MB, free: 9.465 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.911e-05/0.1698, allocations: 92.05 kB / 362.6 MB, free: 9.371 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.1698, allocations: 0 / 362.6 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.1698, allocations: 17.72 kB / 362.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.17, allocations: 322.8 kB / 363 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.914e-05/0.1701, allocations: 11.98 kB / 363 MB, free: 9.012 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.359e-05/0.1702, allocations: 43.42 kB / 363 MB, free: 8.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.1704, allocations: 59.34 kB / 363.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1704, allocations: 7.938 kB / 363.1 MB, free: 8.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002256/0.1707, allocations: 81.5 kB / 363.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1707, allocations: 4 kB / 363.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1707, allocations: 4 kB / 363.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1707, allocations: 0 / 363.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1709, allocations: 15.92 kB / 363.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1709, allocations: 4 kB / 363.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/0.1709, allocations: 12.12 kB / 363.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.171, allocations: 0 / 363.2 MB, free: 8.754 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.1711, allocations: 125.8 kB / 363.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.1712, allocations: 49.59 kB / 363.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.1713, allocations: 15.83 kB / 363.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.1713, allocations: 7.875 kB / 363.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.1713, allocations: 4 kB / 363.4 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1713, allocations: 3.938 kB / 363.4 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.1717, allocations: 185.6 kB / 363.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1717, allocations: 0 / 363.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-05/0.1717, allocations: 8 kB / 363.6 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1717, allocations: 0 / 363.6 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1718, allocations: 4 kB / 363.6 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.1718, allocations: 4 kB / 363.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1718, allocations: 3.984 kB / 363.6 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.1721, allocations: 267.5 kB / 363.9 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-05/0.1723, allocations: 93 kB / 363.9 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.1723, allocations: 7.938 kB / 364 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.1724, allocations: 0 / 364 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.1725, allocations: 4 kB / 364 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.1725, allocations: 144 / 364 MB, free: 7.879 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.1726, allocations: 118.3 kB / 364.1 MB, free: 7.766 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1726, allocations: 0 / 364.1 MB, free: 7.766 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004054/0.173, allocations: 8 kB / 364.1 MB, free: 7.758 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001475/0.1732, allocations: 107.2 kB / 364.2 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.1735, allocations: 47.89 kB / 364.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1735, allocations: 256 / 364.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.678e-05/0.1736, allocations: 23.98 kB / 364.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005877/0.1742, allocations: 31.52 kB / 364.3 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000513/0.1747, allocations: 183 kB / 364.5 MB, free: 7.336 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.1752, allocations: 0.6963 MB / 365.2 MB, free: 6.613 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.853e-05/0.1752, allocations: 8.219 kB / 365.2 MB, free: 6.605 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.1753, allocations: 11.44 kB / 365.2 MB, free: 6.594 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1753, allocations: 0 / 365.2 MB, free: 6.594 MB / 302.1 MB Notification: Performance of Templates: time 0.004255/0.1796, allocations: 0.6171 MB / 365.8 MB, free: 5.992 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches