Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002254/0.002254, allocations: 177.7 kB / 8.045 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.3 MB / 213.8 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 89.8 kB / 261.8 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1038/0.1038, allocations: 12.6 MB / 322.4 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.031e-05/2.025e-05, allocations: 4 kB / 378.9 MB, free: 75.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1166, allocations: 50.37 MB / 429.3 MB, free: 24.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4485/0.5652, allocations: 79.03 MB / 0.4964 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.5656, allocations: 80.94 kB / 0.4965 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01961/0.5852, allocations: 4.555 MB / 0.5009 GB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5853, allocations: 0 / 0.5009 GB, free: 11.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.976e-05/0.5853, allocations: 3.844 kB / 0.501 GB, free: 11.33 MB / 330.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.0006619/0.586, allocations: 453.4 kB / 0.5014 GB, free: 10.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.586, allocations: 7.688 kB / 0.5014 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.537e-05/0.5861, allocations: 19.5 kB / 0.5014 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.5865, allocations: 236 kB / 0.5016 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.5865, allocations: 7.281 kB / 0.5016 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.5866, allocations: 3.844 kB / 0.5016 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001902/0.5868, allocations: 56.81 kB / 0.5017 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/0.5873, allocations: 273.6 kB / 0.502 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5874, allocations: 3.984 kB / 0.502 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.5874, allocations: 0 / 0.502 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.5874, allocations: 3.969 kB / 0.502 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.588, allocations: 321.1 kB / 0.5023 GB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/0.5884, allocations: 222.5 kB / 0.5025 GB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.5886, allocations: 85.25 kB / 0.5026 GB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006756/0.5893, allocations: 0.5736 MB / 0.5031 GB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.5893, allocations: 38.41 kB / 0.5032 GB, free: 9.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 3.156e-06/0.5893, allocations: 0.9375 kB / 0.5032 GB, free: 9.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004665/0.5898, allocations: 144.1 kB / 0.5033 GB, free: 9.434 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.5899, allocations: 114 kB / 0.5034 GB, free: 9.309 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.5901, allocations: 170.7 kB / 0.5036 GB, free: 9.207 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.5901, allocations: 25.7 kB / 0.5036 GB, free: 9.176 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.5902, allocations: 101.7 kB / 0.5037 GB, free: 9.094 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.5902, allocations: 18.16 kB / 0.5037 GB, free: 9.086 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-06/0.5903, allocations: 0 / 0.5037 GB, free: 9.086 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.5903, allocations: 334 kB / 0.504 GB, free: 8.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.5904, allocations: 36.33 kB / 0.5041 GB, free: 8.766 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.5906, allocations: 157.4 kB / 0.5042 GB, free: 8.598 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.5907, allocations: 56.88 kB / 0.5043 GB, free: 8.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.5907, allocations: 0 / 0.5043 GB, free: 8.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003423/0.5911, allocations: 183.5 kB / 0.5044 GB, free: 8.523 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.5911, allocations: 7.656 kB / 0.5045 GB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.5911, allocations: 3.875 kB / 0.5045 GB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.5912, allocations: 7.562 kB / 0.5045 GB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.5914, allocations: 43.47 kB / 0.5045 GB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.5915, allocations: 22.19 kB / 0.5045 GB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.5917, allocations: 15.64 kB / 0.5045 GB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.5917, allocations: 11.56 kB / 0.5046 GB, free: 8.5 MB / 330.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 (sample.noise.seedState[3],$CLKPRE.sample.noise.seedState[3],sample.noise.seedState[2],$CLKPRE.sample.noise.seedState[2],sample.noise.seedState[1],$CLKPRE.sample.noise.seedState[1]) * Number of discrete states: 0 () * 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 0.0001299/0.5918, allocations: 113.3 kB / 0.5047 GB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/0.5922, allocations: 135.7 kB / 0.5048 GB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003777/0.5926, allocations: 147.1 kB / 0.5049 GB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.5926, allocations: 3.844 kB / 0.5049 GB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.5926, allocations: 4 kB / 0.5049 GB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.5926, allocations: 6.719 kB / 0.5049 GB, free: 8.293 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.5929, allocations: 209.4 kB / 0.5051 GB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.5929, allocations: 3.812 kB / 0.5051 GB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.5932, allocations: 33.61 kB / 0.5052 GB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.5932, allocations: 0 / 0.5052 GB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.5932, allocations: 0 / 0.5052 GB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.5932, allocations: 3.812 kB / 0.5052 GB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5932, allocations: 0 / 0.5052 GB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.5936, allocations: 266.1 kB / 0.5054 GB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.5937, allocations: 119.2 kB / 0.5056 GB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.5938, allocations: 9.609 kB / 0.5056 GB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.594, allocations: 10.05 kB / 0.5056 GB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.5941, allocations: 7.938 kB / 0.5056 GB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.5941, allocations: 6.609 kB / 0.5056 GB, free: 7.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001333/0.5942, allocations: 132 kB / 0.5057 GB, free: 7.766 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5943, allocations: 0 / 0.5057 GB, free: 7.766 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000487/0.5948, allocations: 30.84 kB / 0.5057 GB, free: 7.762 MB / 330.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 (sample.noise.seedState[1],sample.noise.seedState[2],sample.noise.seedState[3]) * Number of discrete states: 0 () * 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.0002046/0.595, allocations: 108.2 kB / 0.5058 GB, free: 7.672 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.5953, allocations: 113.9 kB / 0.506 GB, free: 7.656 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5953, allocations: 3.938 kB / 0.506 GB, free: 7.652 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.378e-05/0.5953, allocations: 6.516 kB / 0.506 GB, free: 7.652 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006554/0.596, allocations: 131.8 kB / 0.5061 GB, free: 7.602 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006022/0.5966, allocations: 212.5 kB / 0.5063 GB, free: 7.484 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.5969, allocations: 0.7432 MB / 0.507 GB, free: 6.785 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.554e-05/0.597, allocations: 11.48 kB / 0.507 GB, free: 6.785 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.597, allocations: 15.12 kB / 0.507 GB, free: 6.777 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.597, allocations: 0 / 0.507 GB, free: 6.777 MB / 330.7 MB Notification: Performance of Templates: time 0.006798/0.6038, allocations: 1.974 MB / 0.509 GB, free: 5.816 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches