Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009561/0.000956, allocations: 94.75 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009333/0.0009333, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002961, allocations: 8 kB / 306.6 MB, free: 1.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1632, allocations: 51.49 MB / 358.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002432/0.1657, allocations: 1.305 MB / 359.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.1669, allocations: 0.4991 MB / 359.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.167, allocations: 0 / 359.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.1671, allocations: 3.938 kB / 359.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.1672, allocations: 19.91 kB / 359.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.1677, allocations: 39.89 kB / 359.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.1679, allocations: 43.88 kB / 360 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.168, allocations: 15.97 kB / 360 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.1682, allocations: 23.92 kB / 360 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.92e-05/0.1683, allocations: 27.84 kB / 360 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1683, allocations: 7.938 kB / 360.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.964e-05/0.1684, allocations: 4 kB / 360.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.1684, allocations: 15.92 kB / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.1685, allocations: 37.64 kB / 360.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.1686, allocations: 51.91 kB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1686, allocations: 0 / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.428e-06/0.1687, allocations: 0 / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1687, allocations: 0 / 360.2 MB, free: 12.05 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.0007092/0.1694, allocations: 383.3 kB / 360.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.1695, allocations: 8.031 kB / 360.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002937/0.1697, allocations: 39.78 kB / 360.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.1701, allocations: 194.1 kB / 360.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1701, allocations: 7.938 kB / 360.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.1701, allocations: 3.953 kB / 360.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.1705, allocations: 137.9 kB / 360.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1705, allocations: 3.938 kB / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.1705, allocations: 3.984 kB / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/0.1706, allocations: 4 kB / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.1707, allocations: 39.97 kB / 361 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006517/0.1714, allocations: 385.8 kB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.1716, allocations: 87.77 kB / 361.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.1716, allocations: 4 kB / 361.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.1717, allocations: 34.62 kB / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 2.294e-06/0.1717, allocations: 0 / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005296/0.1722, allocations: 206.5 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.742e-05/0.1723, allocations: 115.1 kB / 361.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.1725, allocations: 150.2 kB / 361.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.1725, allocations: 25.7 kB / 362 MB, free: 9.992 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.1726, allocations: 99.98 kB / 362 MB, free: 9.891 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.1727, allocations: 7.906 kB / 362.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.1727, allocations: 0 / 362.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1728, allocations: 318.8 kB / 362.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.898e-05/0.1729, allocations: 27.98 kB / 362.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.321e-05/0.173, allocations: 43.42 kB / 362.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.362e-05/0.1731, allocations: 31.97 kB / 362.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.1731, allocations: 3.953 kB / 362.5 MB, free: 9.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002074/0.1733, allocations: 89.55 kB / 362.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.1733, allocations: 4 kB / 362.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.1734, allocations: 4 kB / 362.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1734, allocations: 8.109 kB / 362.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1735, allocations: 12 kB / 362.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1735, allocations: 0 / 362.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.917e-05/0.1736, allocations: 11.89 kB / 362.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.1736, allocations: 8 kB / 362.6 MB, free: 9.305 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: 0 () * 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.0001374/0.1738, allocations: 125.8 kB / 362.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.1739, allocations: 53.56 kB / 362.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.174, allocations: 19.81 kB / 362.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.174, allocations: 4 kB / 362.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.174, allocations: 0 / 362.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.174, allocations: 4 kB / 362.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.1743, allocations: 177.6 kB / 363 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1743, allocations: 3.938 kB / 363 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.694e-05/0.1743, allocations: 15.94 kB / 363 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1744, allocations: 4 kB / 363 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1744, allocations: 0 / 363 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1744, allocations: 4.031 kB / 363 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1744, allocations: 0 / 363 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.1747, allocations: 306.9 kB / 363.3 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.299e-05/0.1748, allocations: 92.98 kB / 363.4 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.1748, allocations: 8 kB / 363.4 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.175, allocations: 4 kB / 363.4 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.1751, allocations: 4 kB / 363.4 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.1751, allocations: 3.984 kB / 363.4 MB, free: 8.371 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.1752, allocations: 120.3 kB / 363.5 MB, free: 8.254 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1752, allocations: 0 / 363.5 MB, free: 8.254 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.1755, allocations: 12 kB / 363.5 MB, free: 8.242 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: 0 () * 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.0001287/0.1756, allocations: 95.25 kB / 363.6 MB, free: 8.141 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002944/0.1759, allocations: 60.03 kB / 363.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.1759, allocations: 4 kB / 363.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.148e-05/0.176, allocations: 23.92 kB / 363.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/0.1765, allocations: 35.47 kB / 363.8 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.1771, allocations: 231.1 kB / 364 MB, free: 7.758 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.1775, allocations: 0.7004 MB / 364.7 MB, free: 7.031 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.689e-05/0.1776, allocations: 16.11 kB / 364.7 MB, free: 7.016 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.1777, allocations: 11.44 kB / 364.7 MB, free: 7.004 MB / 302.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1777, allocations: 0 / 364.7 MB, free: 7.004 MB / 302.1 MB Notification: Performance of Templates: time 0.004219/0.1819, allocations: 0.5927 MB / 365.3 MB, free: 6.426 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches