Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001159/0.001159, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 55.38 kB / 306.9 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1545, allocations: 50.53 MB / 357.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.00401/0.1586, allocations: 1.871 MB / 359.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.1604, allocations: 0.7517 MB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.1608, allocations: 7.938 kB / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.161, allocations: 19.8 kB / 360.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.1612, allocations: 23.8 kB / 360.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007197/0.1619, allocations: 163.2 kB / 360.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.1622, allocations: 159.5 kB / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.1623, allocations: 61.5 kB / 360.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.1625, allocations: 59.77 kB / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.1627, allocations: 59.64 kB / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.1627, allocations: 16 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.1629, allocations: 51.97 kB / 360.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.958e-05/0.163, allocations: 47.83 kB / 360.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.396e-05/0.1631, allocations: 63.59 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.1634, allocations: 203.3 kB / 361 MB, free: 10.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1634, allocations: 4 kB / 361 MB, free: 10.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1634, allocations: 0 / 361 MB, free: 10.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1634, allocations: 0 / 361 MB, free: 10.53 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007526/0.1641, allocations: 479 kB / 361.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1642, allocations: 15.97 kB / 361.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.1644, allocations: 28.59 kB / 361.5 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.1647, allocations: 239.9 kB / 361.8 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.1648, allocations: 8.562 kB / 361.8 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.1648, allocations: 12.12 kB / 361.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006888/0.1655, allocations: 323.5 kB / 362.1 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1655, allocations: 11.86 kB / 362.1 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.1655, allocations: 4 kB / 362.1 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.1655, allocations: 8 kB / 362.1 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/0.1658, allocations: 83.88 kB / 362.2 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.1663, allocations: 337.6 kB / 362.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.1668, allocations: 270.1 kB / 362.8 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.167, allocations: 98.02 kB / 362.9 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006965/0.1677, allocations: 0.5895 MB / 363.5 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1677, allocations: 34.56 kB / 363.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.502e-06/0.1678, allocations: 0 / 363.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005944/0.1683, allocations: 244.6 kB / 363.7 MB, free: 7.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.598e-05/0.1685, allocations: 114.8 kB / 363.9 MB, free: 7.305 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.1687, allocations: 195.2 kB / 364 MB, free: 7.098 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1687, allocations: 33.7 kB / 364.1 MB, free: 7.059 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.1688, allocations: 104.5 kB / 364.2 MB, free: 6.953 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.1688, allocations: 19.88 kB / 364.2 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/0.1689, allocations: 41.7 kB / 364.2 MB, free: 6.887 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.169, allocations: 326.9 kB / 364.6 MB, free: 6.559 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.1691, allocations: 39.97 kB / 364.6 MB, free: 6.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.1693, allocations: 170.9 kB / 364.8 MB, free: 6.297 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.1695, allocations: 200.1 kB / 365 MB, free: 6.043 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1696, allocations: 7.938 kB / 365 MB, free: 6.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003505/0.1699, allocations: 221 kB / 365.2 MB, free: 5.812 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1699, allocations: 4 kB / 365.2 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.17, allocations: 8.578 kB / 365.2 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.17, allocations: 12 kB / 365.2 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.1701, allocations: 43.92 kB / 365.3 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.1702, allocations: 7.938 kB / 365.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.1703, allocations: 19.83 kB / 365.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1703, allocations: 16 kB / 365.3 MB, free: 5.703 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001428/0.1705, allocations: 141.7 kB / 365.4 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/0.1708, allocations: 165.3 kB / 365.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003866/0.1712, allocations: 200 kB / 365.8 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1712, allocations: 0 / 365.8 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1712, allocations: 0 / 365.8 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1712, allocations: 4 kB / 365.8 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.1715, allocations: 221.6 kB / 366 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.617e-06/0.1715, allocations: 3.938 kB / 366 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.1716, allocations: 35.97 kB / 366 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1716, allocations: 4 kB / 366.1 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1717, allocations: 4 kB / 366.1 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1717, allocations: 0 / 366.1 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1717, allocations: 0 / 366.1 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.1721, allocations: 291.9 kB / 366.3 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.659e-05/0.1722, allocations: 116.8 kB / 366.5 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.1723, allocations: 12 kB / 366.5 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.1724, allocations: 15.98 kB / 366.5 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.1724, allocations: 0 / 366.5 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.1725, allocations: 11.97 kB / 366.5 MB, free: 4.398 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.1726, allocations: 143.2 kB / 366.6 MB, free: 4.258 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1726, allocations: 0 / 366.6 MB, free: 4.258 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003344/0.173, allocations: 32 kB / 366.7 MB, free: 4.227 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001832/0.1731, allocations: 123.1 kB / 366.8 MB, free: 4.098 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003517/0.1735, allocations: 147.7 kB / 366.9 MB, free: 3.953 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1735, allocations: 1.188 kB / 366.9 MB, free: 3.953 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.298e-05/0.1736, allocations: 15.98 kB / 366.9 MB, free: 3.938 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005886/0.1742, allocations: 153.6 kB / 367.1 MB, free: 3.781 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006289/0.1748, allocations: 329 kB / 367.4 MB, free: 3.434 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.1751, allocations: 0.7322 MB / 368.2 MB, free: 2.672 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.256e-05/0.1752, allocations: 21.55 kB / 368.2 MB, free: 2.648 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.1752, allocations: 15.44 kB / 368.2 MB, free: 2.633 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1753, allocations: 3.938 kB / 368.2 MB, free: 2.629 MB / 302.1 MB Notification: Performance of Templates: time 0.005875/0.1811, allocations: 2.349 MB / 370.5 MB, free: 300 kB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches