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.001149/0.001149, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 221.5 MB / 230.3 MB, free: 7.602 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008743/0.0008744, allocations: 90.2 kB / 281.2 MB, free: 5.359 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.859e-05/1.869e-05, allocations: 4 kB / 337 MB, free: 10.05 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09626, allocations: 50.41 MB / 387.5 MB, free: 7.602 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.33/0.4263, allocations: 78.01 MB / 465.5 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.4266, allocations: 79.95 kB / 465.5 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01341/0.44, allocations: 4.745 MB / 470.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4401, allocations: 0 / 470.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.4401, allocations: 8 kB / 470.3 MB, free: 12.08 MB / 346.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.0005689/0.4407, allocations: 446.8 kB / 470.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.4407, allocations: 8.031 kB / 470.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.4408, allocations: 19.72 kB / 470.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.4411, allocations: 242.8 kB / 471 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.4411, allocations: 4 kB / 471 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.4412, allocations: 4 kB / 471 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001348/0.4413, allocations: 60.11 kB / 471.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004496/0.4417, allocations: 278.2 kB / 471.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4418, allocations: 3.984 kB / 471.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.4418, allocations: 3.984 kB / 471.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.4418, allocations: 4 kB / 471.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.4423, allocations: 326 kB / 471.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.4426, allocations: 214.6 kB / 471.9 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.4428, allocations: 86.84 kB / 472 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005646/0.4433, allocations: 0.5778 MB / 472.5 MB, free: 9.516 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.4434, allocations: 34.56 kB / 472.6 MB, free: 9.473 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.422e-06/0.4434, allocations: 0 / 472.6 MB, free: 9.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.000329/0.4437, allocations: 146.8 kB / 472.7 MB, free: 9.324 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/0.4438, allocations: 114.8 kB / 472.8 MB, free: 9.188 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.444, allocations: 165.6 kB / 473 MB, free: 9.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.444, allocations: 25.7 kB / 473 MB, free: 8.988 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.4441, allocations: 105.6 kB / 473.1 MB, free: 8.883 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.4441, allocations: 16.03 kB / 473.1 MB, free: 8.867 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.4441, allocations: 0 / 473.1 MB, free: 8.867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4443, allocations: 330.8 kB / 473.5 MB, free: 8.535 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.894e-05/0.4443, allocations: 36.39 kB / 473.5 MB, free: 8.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.4444, allocations: 149.7 kB / 473.6 MB, free: 8.293 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.171e-05/0.4445, allocations: 63.89 kB / 473.7 MB, free: 8.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4445, allocations: 0 / 473.7 MB, free: 8.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002388/0.4448, allocations: 177.1 kB / 473.9 MB, free: 8.051 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4448, allocations: 8 kB / 473.9 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.4448, allocations: 4 kB / 473.9 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4449, allocations: 15.88 kB / 473.9 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.445, allocations: 44.5 kB / 473.9 MB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.445, allocations: 11.98 kB / 474 MB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.4451, allocations: 19.84 kB / 474 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.4452, allocations: 8 kB / 474 MB, free: 7.941 MB / 346.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 () * 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.899e-05/0.4453, allocations: 128.8 kB / 474.1 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.4455, allocations: 130.8 kB / 474.2 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.4458, allocations: 148.3 kB / 474.4 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.4458, allocations: 4 kB / 474.4 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4458, allocations: 4 kB / 474.4 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4458, allocations: 0 / 474.4 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.446, allocations: 198.1 kB / 474.6 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.4461, allocations: 4 kB / 474.6 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.4462, allocations: 31.98 kB / 474.6 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.4462, allocations: 7.953 kB / 474.6 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.4462, allocations: 3.984 kB / 474.6 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4462, allocations: 0 / 474.6 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4463, allocations: 0 / 474.6 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.4466, allocations: 271.3 kB / 474.9 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.602e-05/0.4467, allocations: 116.7 kB / 475 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.4467, allocations: 8 kB / 475 MB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.4468, allocations: 15.98 kB / 475 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.4469, allocations: 7.953 kB / 475 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.4469, allocations: 8 kB / 475.1 MB, free: 6.777 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001219/0.447, allocations: 136.3 kB / 475.2 MB, free: 6.645 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.447, allocations: 0 / 475.2 MB, free: 6.645 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003089/0.4474, allocations: 28 kB / 475.2 MB, free: 6.617 MB / 346.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 () * 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.0001881/0.4476, allocations: 111.2 kB / 475.3 MB, free: 6.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.4478, allocations: 113 kB / 475.4 MB, free: 6.391 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4478, allocations: 0 / 475.4 MB, free: 6.391 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.305e-05/0.4478, allocations: 0 / 475.4 MB, free: 6.391 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.4483, allocations: 131.6 kB / 475.6 MB, free: 6.258 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.4488, allocations: 210.6 kB / 475.8 MB, free: 6.023 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.4492, allocations: 0.7401 MB / 476.5 MB, free: 5.258 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.238e-05/0.4492, allocations: 17.33 kB / 476.5 MB, free: 5.242 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.4493, allocations: 19.42 kB / 476.5 MB, free: 5.223 MB / 346.7 MB Notification: Performance of SimCode: time 1.894e-06/0.4493, allocations: 0 / 476.5 MB, free: 5.223 MB / 346.7 MB Notification: Performance of Templates: time 0.005282/0.4546, allocations: 1.973 MB / 478.5 MB, free: 3.266 MB / 346.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/jenkins/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