Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 110.7 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.884/1.884, allocations: 222.9 MB / 241.8 MB, free: 13.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 47.55 kB / 300.6 MB, free: 6.074 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1707, allocations: 49.45 MB / 350.1 MB, free: 4.617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.005921/0.1767, allocations: 1.904 MB / 352 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.1787, allocations: 0.6739 MB / 352.6 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.1789, allocations: 11.94 kB / 352.7 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.1792, allocations: 15.86 kB / 352.7 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.1794, allocations: 23.84 kB / 352.7 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007194/0.1801, allocations: 129.8 kB / 352.8 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.1804, allocations: 139.6 kB / 353 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.1806, allocations: 61.45 kB / 353 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.1808, allocations: 43.78 kB / 353.1 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.181, allocations: 63.62 kB / 353.1 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.1811, allocations: 8 kB / 353.1 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.1812, allocations: 43.95 kB / 353.2 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.1814, allocations: 35.91 kB / 353.2 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1815, allocations: 59.55 kB / 353.3 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.1818, allocations: 147.7 kB / 353.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1818, allocations: 0 / 353.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1818, allocations: 0 / 353.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1818, allocations: 0 / 353.4 MB, free: 1.246 MB / 286.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.001159/0.183, allocations: 475.1 kB / 353.9 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.353e-05/0.1831, allocations: 16.03 kB / 353.9 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.027e-05/0.1832, allocations: 20.69 kB / 353.9 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.1836, allocations: 239.9 kB / 354.1 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.1836, allocations: 8.562 kB / 354.2 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.1837, allocations: 8.125 kB / 354.2 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.1847, allocations: 318.5 kB / 354.5 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.1847, allocations: 7.922 kB / 354.5 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.1848, allocations: 8 kB / 354.5 MB, free: 64 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.1848, allocations: 0 / 354.5 MB, free: 64 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.1852, allocations: 83.94 kB / 354.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000604/0.1858, allocations: 341.5 kB / 354.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007469/0.1866, allocations: 274.1 kB / 355.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/0.1869, allocations: 102.8 kB / 355.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.188, allocations: 0.5934 MB / 355.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.188, allocations: 30.56 kB / 355.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.605e-06/0.1881, allocations: 0 / 355.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009867/0.189, allocations: 237.2 kB / 356.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.1892, allocations: 126.8 kB / 356.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.1895, allocations: 191.3 kB / 356.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.1895, allocations: 29.7 kB / 356.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.1896, allocations: 100.6 kB / 356.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.1897, allocations: 23.8 kB / 356.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.913e-05/0.1898, allocations: 41.7 kB / 356.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.19, allocations: 322.8 kB / 356.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.1901, allocations: 39.97 kB / 357 MB, free: 13.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.1904, allocations: 169.1 kB / 357.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.1908, allocations: 200.1 kB / 357.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1908, allocations: 0 / 357.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005559/0.1914, allocations: 217 kB / 357.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.1914, allocations: 4 kB / 357.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.1914, allocations: 4 kB / 357.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.1915, allocations: 8.594 kB / 357.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.1917, allocations: 47.91 kB / 357.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/0.1918, allocations: 11.94 kB / 357.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.192, allocations: 19.84 kB / 357.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.192, allocations: 16 kB / 357.7 MB, free: 12.46 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.0002119/0.1922, allocations: 145.4 kB / 357.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004772/0.1927, allocations: 161.4 kB / 358 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005794/0.1933, allocations: 194.3 kB / 358.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.1934, allocations: 3.984 kB / 358.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1934, allocations: 0 / 358.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1934, allocations: 0 / 358.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.1937, allocations: 225.5 kB / 358.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.1937, allocations: 7.938 kB / 358.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.1939, allocations: 27.98 kB / 358.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.194, allocations: 0 / 358.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.194, allocations: 7.984 kB / 358.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.194, allocations: 8 kB / 358.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.194, allocations: 0 / 358.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006/0.1946, allocations: 288 kB / 358.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.1948, allocations: 112.8 kB / 358.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.1948, allocations: 8 kB / 358.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.1951, allocations: 15.98 kB / 358.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.1951, allocations: 3.984 kB / 358.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.1952, allocations: 11.94 kB / 358.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001876/0.1954, allocations: 143.4 kB / 359 MB, free: 11.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1954, allocations: 0 / 359 MB, free: 11.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006548/0.1961, allocations: 32 kB / 359 MB, free: 10.98 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.0002521/0.1963, allocations: 122.3 kB / 359.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005071/0.1968, allocations: 155.6 kB / 359.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1969, allocations: 0 / 359.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.068e-05/0.1969, allocations: 9.188 kB / 359.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.198, allocations: 148.8 kB / 359.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.199, allocations: 416.5 kB / 359.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.1995, allocations: 0.7324 MB / 360.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.1996, allocations: 15.44 kB / 360.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1996, allocations: 0 / 360.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of Templates: time 0.006612/0.2062, allocations: 2.233 MB / 362.8 MB, free: 7.102 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches