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.001179/0.001179, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.186/1.186, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008622/0.0008622, allocations: 101.2 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002048/0.0002049, allocations: 7.984 kB / 357.9 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1811, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08443/0.2655, allocations: 79.54 MB / 489 MB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.2658, allocations: 85.89 kB / 489 MB, free: 10.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01286/0.2786, allocations: 4.899 MB / 493.9 MB, free: 6.094 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2787, allocations: 0 / 493.9 MB, free: 6.094 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.2787, allocations: 4 kB / 493.9 MB, free: 6.09 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.0005527/0.2792, allocations: 466.8 kB / 494.4 MB, free: 5.582 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.2793, allocations: 11.97 kB / 494.4 MB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.2794, allocations: 31.7 kB / 494.4 MB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.2798, allocations: 244 kB / 494.7 MB, free: 5.262 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.2798, allocations: 20.08 kB / 494.7 MB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.2798, allocations: 4 kB / 494.7 MB, free: 5.238 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006455/0.2805, allocations: 337.5 kB / 495 MB, free: 4.895 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2805, allocations: 0 / 495 MB, free: 4.895 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.2805, allocations: 4 kB / 495 MB, free: 4.891 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.2805, allocations: 8 kB / 495 MB, free: 4.883 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.2808, allocations: 99.86 kB / 495.1 MB, free: 4.785 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.2812, allocations: 357.9 kB / 495.5 MB, free: 4.383 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.2817, allocations: 285.8 kB / 495.8 MB, free: 4.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004931/0.2822, allocations: 0.574 MB / 496.3 MB, free: 3.367 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.2822, allocations: 42.55 kB / 496.4 MB, free: 3.316 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.412e-06/0.2822, allocations: 4 kB / 496.4 MB, free: 3.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006047/0.2829, allocations: 338.8 kB / 496.7 MB, free: 2.957 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.2829, allocations: 122.7 kB / 496.8 MB, free: 2.812 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.2831, allocations: 177.4 kB / 497 MB, free: 2.629 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.2831, allocations: 25.7 kB / 497 MB, free: 2.598 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.2832, allocations: 100.6 kB / 497.1 MB, free: 2.496 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.2832, allocations: 15.89 kB / 497.2 MB, free: 2.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/0.2832, allocations: 4 kB / 497.2 MB, free: 2.477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.814e-05/0.2833, allocations: 326.8 kB / 497.5 MB, free: 2.148 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.782e-05/0.2834, allocations: 44.36 kB / 497.5 MB, free: 2.105 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.2835, allocations: 165.9 kB / 497.7 MB, free: 1.883 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.2836, allocations: 59.95 kB / 497.7 MB, free: 1.824 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.2836, allocations: 4 kB / 497.7 MB, free: 1.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003065/0.284, allocations: 225.5 kB / 498 MB, free: 1.594 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.284, allocations: 10.66 kB / 498 MB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.284, allocations: 4 kB / 498 MB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.284, allocations: 8 kB / 498 MB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.2842, allocations: 43.92 kB / 498 MB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.2842, allocations: 7.953 kB / 498 MB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2843, allocations: 23.83 kB / 498.1 MB, free: 1.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.2843, allocations: 12 kB / 498.1 MB, free: 1.488 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.0001194/0.2845, allocations: 155.8 kB / 498.2 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/0.2848, allocations: 168 kB / 498.4 MB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.2851, allocations: 191.3 kB / 498.6 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2851, allocations: 4 kB / 498.6 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2852, allocations: 0 / 498.6 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.2852, allocations: 3.953 kB / 498.6 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.2854, allocations: 225.6 kB / 498.8 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2854, allocations: 0 / 498.8 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.2855, allocations: 39.91 kB / 498.8 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2855, allocations: 3.938 kB / 498.8 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.2856, allocations: 8 kB / 498.9 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2856, allocations: 0 / 498.9 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2856, allocations: 0 / 498.9 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.286, allocations: 313.7 kB / 499.2 MB, free: 312 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/0.2861, allocations: 116.8 kB / 499.3 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.2861, allocations: 11.98 kB / 499.3 MB, free: 164 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.2862, allocations: 8 kB / 499.3 MB, free: 156 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.2863, allocations: 7.984 kB / 499.3 MB, free: 148 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.2863, allocations: 4 kB / 499.3 MB, free: 144 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.2864, allocations: 148.4 kB / 499.5 MB, free: 15.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2864, allocations: 3.938 kB / 499.5 MB, free: 15.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002918/0.2867, allocations: 35.94 kB / 499.5 MB, free: 15.96 MB / 378.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.0001575/0.2869, allocations: 119.9 kB / 499.6 MB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003046/0.2872, allocations: 147.8 kB / 499.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2872, allocations: 0 / 499.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.081e-05/0.2873, allocations: 17.17 kB / 499.8 MB, free: 15.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.2877, allocations: 151.6 kB / 499.9 MB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005598/0.2883, allocations: 363.2 kB / 0.4885 GB, free: 15.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.2886, allocations: 0.7402 MB / 0.4893 GB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.896e-05/0.2886, allocations: 17.55 kB / 0.4893 GB, free: 14.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.2887, allocations: 23.42 kB / 0.4893 GB, free: 14.32 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2887, allocations: 0 / 0.4893 GB, free: 14.32 MB / 378.7 MB Notification: Performance of Templates: time 0.004379/0.2931, allocations: 2.089 MB / 0.4913 GB, free: 12.25 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/jenkins/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