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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.000876/0.000876, allocations: 178.1 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 223.3 MB / 241 MB, free: 11.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007797/0.0007797, allocations: 104.9 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002506/0.0002506, allocations: 11.94 kB / 351.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2118, allocations: 50.4 MB / 402.2 MB, free: 32.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.001638/0.2135, allocations: 1.51 MB / 403.7 MB, free: 31.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008701/0.2144, allocations: 0.6492 MB / 404.4 MB, free: 30.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.2145, allocations: 0 / 404.4 MB, free: 30.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.2146, allocations: 19.8 kB / 404.4 MB, free: 30.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.2147, allocations: 9.172 kB / 404.4 MB, free: 30.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.2152, allocations: 143.2 kB / 404.5 MB, free: 30.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.2153, allocations: 127.7 kB / 404.7 MB, free: 30.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2154, allocations: 39.56 kB / 404.7 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.536e-05/0.2155, allocations: 47.77 kB / 404.7 MB, free: 30.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.329e-05/0.2156, allocations: 43.72 kB / 404.8 MB, free: 30.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.2156, allocations: 3.844 kB / 404.8 MB, free: 30.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.649e-05/0.2157, allocations: 43.89 kB / 404.8 MB, free: 29.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.033e-05/0.2158, allocations: 35.84 kB / 404.9 MB, free: 29.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.2158, allocations: 49.58 kB / 404.9 MB, free: 29.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.2159, allocations: 139.7 kB / 405 MB, free: 29.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.216, allocations: 0 / 405 MB, free: 29.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.216, allocations: 0 / 405 MB, free: 29.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.216, allocations: 3.938 kB / 405.1 MB, free: 29.75 MB / 298.7 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.0005705/0.2165, allocations: 448.5 kB / 405.5 MB, free: 29.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.2166, allocations: 8.031 kB / 405.5 MB, free: 29.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.2166, allocations: 19.72 kB / 405.5 MB, free: 29.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.2168, allocations: 238.8 kB / 405.8 MB, free: 28.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.2168, allocations: 8.188 kB / 405.8 MB, free: 28.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.2169, allocations: 8 kB / 405.8 MB, free: 28.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005606/0.2174, allocations: 344 kB / 406.1 MB, free: 28.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2175, allocations: 0 / 406.1 MB, free: 28.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.2175, allocations: 4 kB / 406.1 MB, free: 28.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2175, allocations: 4 kB / 406.1 MB, free: 28.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.2177, allocations: 95.94 kB / 406.2 MB, free: 28.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.218, allocations: 337.5 kB / 406.5 MB, free: 28.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004195/0.2184, allocations: 282.5 kB / 406.8 MB, free: 27.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.2186, allocations: 112 kB / 406.9 MB, free: 27.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004639/0.2191, allocations: 0.5856 MB / 407.5 MB, free: 26.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.2191, allocations: 38.56 kB / 407.5 MB, free: 26.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.2191, allocations: 0 / 407.5 MB, free: 26.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.000506/0.2196, allocations: 252.2 kB / 407.8 MB, free: 26.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.2197, allocations: 114.8 kB / 407.9 MB, free: 26.53 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.2198, allocations: 196.5 kB / 408.1 MB, free: 26.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.2199, allocations: 33.64 kB / 408.1 MB, free: 26.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.942e-05/0.2199, allocations: 100.6 kB / 408.2 MB, free: 26.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.2199, allocations: 15.84 kB / 408.2 MB, free: 26.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.2199, allocations: 4 kB / 408.2 MB, free: 26.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.639e-05/0.22, allocations: 338.8 kB / 408.6 MB, free: 25.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.116e-05/0.2201, allocations: 36.36 kB / 408.6 MB, free: 25.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.2202, allocations: 173 kB / 408.8 MB, free: 25.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.573e-05/0.2203, allocations: 71.94 kB / 408.8 MB, free: 25.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2203, allocations: 4 kB / 408.9 MB, free: 25.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002618/0.2206, allocations: 213.6 kB / 409.1 MB, free: 25.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2206, allocations: 8 kB / 409.1 MB, free: 25.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2206, allocations: 7.938 kB / 409.1 MB, free: 25.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2206, allocations: 8 kB / 409.1 MB, free: 25.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.2207, allocations: 39.92 kB / 409.1 MB, free: 25.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.2208, allocations: 11.92 kB / 409.1 MB, free: 25.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.2209, allocations: 19.91 kB / 409.2 MB, free: 25.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.2209, allocations: 8 kB / 409.2 MB, free: 25.18 MB / 298.7 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 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.623e-05/0.221, allocations: 163.5 kB / 409.3 MB, free: 25.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/0.2213, allocations: 157.4 kB / 409.5 MB, free: 24.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.2216, allocations: 189.7 kB / 409.7 MB, free: 24.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2216, allocations: 4 kB / 409.7 MB, free: 24.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2216, allocations: 0 / 409.7 MB, free: 24.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2216, allocations: 3.938 kB / 409.7 MB, free: 24.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.2218, allocations: 237.4 kB / 409.9 MB, free: 24.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.2218, allocations: 0 / 409.9 MB, free: 24.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.2219, allocations: 31.98 kB / 409.9 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2219, allocations: 0 / 409.9 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.2219, allocations: 11.98 kB / 409.9 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2219, allocations: 0 / 409.9 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2219, allocations: 0 / 409.9 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.2223, allocations: 307 kB / 410.2 MB, free: 24.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.2223, allocations: 112.8 kB / 410.4 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.2224, allocations: 12 kB / 410.4 MB, free: 23.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.2226, allocations: 11.98 kB / 410.4 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.2226, allocations: 7.953 kB / 410.4 MB, free: 23.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.2226, allocations: 4 kB / 410.4 MB, free: 23.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.329e-05/0.2227, allocations: 151.4 kB / 410.5 MB, free: 23.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2227, allocations: 0 / 410.5 MB, free: 23.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002673/0.223, allocations: 28 kB / 410.6 MB, free: 23.67 MB / 298.7 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 (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.0001328/0.2231, allocations: 119.2 kB / 410.7 MB, free: 23.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002828/0.2234, allocations: 147.9 kB / 410.8 MB, free: 23.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2234, allocations: 0 / 410.8 MB, free: 23.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.685e-05/0.2235, allocations: 7.984 kB / 410.8 MB, free: 23.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.2241, allocations: 154.8 kB / 411 MB, free: 23.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005277/0.2246, allocations: 404 kB / 411.4 MB, free: 22.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.2248, allocations: 0.7324 MB / 412.1 MB, free: 22.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.2248, allocations: 19.42 kB / 412.1 MB, free: 22.03 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2248, allocations: 4 kB / 412.1 MB, free: 22.02 MB / 298.7 MB Notification: Performance of Templates: time 0.003177/0.228, allocations: 2.178 MB / 414.3 MB, free: 19.85 MB / 298.7 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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches