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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.002096/0.002096, allocations: 196.6 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.571/1.571, allocations: 226.5 MB / 245.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007892/0.0007891, allocations: 101.2 kB / 297.5 MB, free: 6.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002637, allocations: 8 kB / 358.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2859, allocations: 51.3 MB / 409.4 MB, free: 27.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1087/0.3947, allocations: 79.49 MB / 488.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.3951, allocations: 89.89 kB / 489 MB, free: 11.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01394/0.409, allocations: 4.895 MB / 493.8 MB, free: 7.082 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.387e-06/0.4091, allocations: 0 / 493.8 MB, free: 7.082 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.4091, allocations: 8 kB / 493.9 MB, free: 7.074 MB / 362.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.000639/0.4097, allocations: 458.9 kB / 494.3 MB, free: 6.574 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4098, allocations: 12.03 kB / 494.3 MB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.41, allocations: 32.64 kB / 494.3 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.4103, allocations: 255.9 kB / 494.6 MB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.4104, allocations: 4.562 kB / 494.6 MB, free: 6.238 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.4104, allocations: 8.375 kB / 494.6 MB, free: 6.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007655/0.4112, allocations: 346.6 kB / 494.9 MB, free: 5.875 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.4112, allocations: 7.938 kB / 495 MB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.4112, allocations: 0 / 495 MB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.4112, allocations: 4 kB / 495 MB, free: 5.863 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/0.4115, allocations: 95.94 kB / 495.1 MB, free: 5.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007516/0.4123, allocations: 353.9 kB / 495.4 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006517/0.4129, allocations: 278.2 kB / 495.7 MB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.4132, allocations: 109.7 kB / 495.8 MB, free: 4.949 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009202/0.4142, allocations: 0.5818 MB / 496.4 MB, free: 4.238 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.4142, allocations: 38.56 kB / 496.4 MB, free: 4.191 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 2.855e-06/0.4142, allocations: 0 / 496.4 MB, free: 4.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.000663/0.4149, allocations: 259.7 kB / 496.7 MB, free: 3.934 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.24e-05/0.415, allocations: 110.8 kB / 496.8 MB, free: 3.801 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.4152, allocations: 203.2 kB / 497 MB, free: 3.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.4153, allocations: 29.7 kB / 497 MB, free: 3.555 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.964e-05/0.4154, allocations: 104.5 kB / 497.1 MB, free: 3.449 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.4154, allocations: 15.89 kB / 497.1 MB, free: 3.434 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-06/0.4154, allocations: 8 kB / 497.1 MB, free: 3.426 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4155, allocations: 326.8 kB / 497.4 MB, free: 3.098 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-05/0.4156, allocations: 35.97 kB / 497.5 MB, free: 3.062 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.4158, allocations: 175.8 kB / 497.6 MB, free: 2.832 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.4161, allocations: 208.1 kB / 497.8 MB, free: 2.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4161, allocations: 0 / 497.8 MB, free: 2.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003374/0.4164, allocations: 217.1 kB / 498.1 MB, free: 2.352 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.4165, allocations: 7.938 kB / 498.1 MB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4165, allocations: 4.594 kB / 498.1 MB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.4165, allocations: 15.98 kB / 498.1 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.4167, allocations: 39.92 kB / 498.1 MB, free: 2.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.4167, allocations: 11.94 kB / 498.1 MB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.4168, allocations: 19.84 kB / 498.2 MB, free: 2.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.4169, allocations: 11.98 kB / 498.2 MB, free: 2.242 MB / 362.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 0.000161/0.417, allocations: 145.7 kB / 498.3 MB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003316/0.4174, allocations: 169.4 kB / 498.5 MB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/0.4178, allocations: 195.2 kB / 498.7 MB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.4178, allocations: 4 kB / 498.7 MB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4178, allocations: 4 kB / 498.7 MB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4178, allocations: 0 / 498.7 MB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.4181, allocations: 229.5 kB / 498.9 MB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.4181, allocations: 4 kB / 498.9 MB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.4183, allocations: 31.97 kB / 498.9 MB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.584e-05/0.4183, allocations: 7.938 kB / 498.9 MB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.4183, allocations: 4 kB / 498.9 MB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4183, allocations: 0 / 498.9 MB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4183, allocations: 0 / 498.9 MB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.4187, allocations: 303.3 kB / 499.2 MB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.4188, allocations: 116.9 kB / 499.4 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.4189, allocations: 11.94 kB / 499.4 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.419, allocations: 15.98 kB / 499.4 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.4191, allocations: 0 / 499.4 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.4191, allocations: 7.984 kB / 499.4 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.4192, allocations: 139.2 kB / 499.5 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.593e-06/0.4192, allocations: 0 / 499.5 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003225/0.4196, allocations: 39.94 kB / 499.6 MB, free: 0.7305 MB / 362.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.0001987/0.4198, allocations: 129.8 kB / 499.7 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.4201, allocations: 152.8 kB / 499.8 MB, free: 460 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4201, allocations: 4 kB / 499.8 MB, free: 456 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.037e-05/0.4202, allocations: 11.98 kB / 499.9 MB, free: 444 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005864/0.4208, allocations: 145.6 kB / 500 MB, free: 292 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006563/0.4214, allocations: 379.2 kB / 0.4886 GB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.4218, allocations: 0.7324 MB / 0.4894 GB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.816e-05/0.4218, allocations: 13.55 kB / 0.4894 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.4219, allocations: 19.44 kB / 0.4894 GB, free: 15.09 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4219, allocations: 0 / 0.4894 GB, free: 15.09 MB / 378.7 MB Notification: Performance of Templates: time 0.004989/0.4269, allocations: 2.104 MB / 0.4914 GB, free: 13 MB / 378.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches