Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 176.4 kB / 8.347 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.335/1.335, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.0008219/0.0008223, allocations: 93.8 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.378e-05/1.381e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09347/0.0935, allocations: 50.42 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2953/0.3889, allocations: 75.62 MB / 463.1 MB, free: 3.246 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.3892, allocations: 75.95 kB / 463.2 MB, free: 3.172 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002737/0.3919, allocations: 1.091 MB / 464.2 MB, free: 2.086 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.392, allocations: 0 / 464.2 MB, free: 2.086 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.392, allocations: 0 / 464.2 MB, free: 2.086 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003192/0.3923, allocations: 347 kB / 464.6 MB, free: 1.703 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3923, allocations: 8.031 kB / 464.6 MB, free: 1.695 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.3924, allocations: 11.86 kB / 464.6 MB, free: 1.684 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.3926, allocations: 183 kB / 464.8 MB, free: 1.465 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3926, allocations: 0 / 464.8 MB, free: 1.465 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.3926, allocations: 4 kB / 464.8 MB, free: 1.461 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.841e-05/0.3927, allocations: 15.94 kB / 464.8 MB, free: 1.445 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.3929, allocations: 88.98 kB / 464.9 MB, free: 1.344 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3929, allocations: 0 / 464.9 MB, free: 1.344 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.3929, allocations: 0 / 464.9 MB, free: 1.344 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3929, allocations: 3.953 kB / 464.9 MB, free: 1.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.3932, allocations: 242.3 kB / 465.1 MB, free: 1.062 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.441e-05/0.3933, allocations: 41.16 kB / 465.2 MB, free: 1.004 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.02e-05/0.3933, allocations: 9.719 kB / 465.2 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.3933, allocations: 4.062 kB / 465.2 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.3933, allocations: 38.55 kB / 465.2 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.3933, allocations: 4 kB / 465.2 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001305/0.3935, allocations: 41.59 kB / 465.3 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.3935, allocations: 81.11 kB / 465.3 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.085e-05/0.3936, allocations: 119.4 kB / 465.5 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.3936, allocations: 25.7 kB / 465.5 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.3937, allocations: 88.03 kB / 465.6 MB, free: 0.543 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.422e-06/0.3937, allocations: 4 kB / 465.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-06/0.3937, allocations: 64 / 465.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.418e-05/0.3938, allocations: 318.8 kB / 465.9 MB, free: 224 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.235e-06/0.3938, allocations: 1.031 kB / 465.9 MB, free: 224 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.662e-05/0.3938, allocations: 13.72 kB / 465.9 MB, free: 204 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.53e-05/0.3938, allocations: 8 kB / 465.9 MB, free: 196 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3938, allocations: 0 / 465.9 MB, free: 196 kB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.289e-05/0.3939, allocations: 41.72 kB / 465.9 MB, free: 148 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.3939, allocations: 8.969 kB / 466 MB, free: 140 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3939, allocations: 0 / 466 MB, free: 140 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.394, allocations: 4 kB / 466 MB, free: 136 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.394, allocations: 7.984 kB / 466 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.394, allocations: 3.953 kB / 466 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.955e-05/0.3941, allocations: 11.92 kB / 466 MB, free: 112 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.3941, allocations: 3.938 kB / 466 MB, free: 108 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7e-05/0.3942, allocations: 106.6 kB / 466.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.3942, allocations: 41.61 kB / 466.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.3943, allocations: 7.969 kB / 466.1 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3943, allocations: 3.938 kB / 466.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3943, allocations: 0 / 466.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3943, allocations: 7.891 kB / 466.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.3944, allocations: 138.2 kB / 466.3 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3944, allocations: 4 kB / 466.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.3945, allocations: 4 kB / 466.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3945, allocations: 0 / 466.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3945, allocations: 12.02 kB / 466.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3945, allocations: 0 / 466.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3945, allocations: 4 kB / 466.3 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.3946, allocations: 154 kB / 466.5 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.3947, allocations: 89.09 kB / 466.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.3947, allocations: 0 / 466.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.509e-05/0.3948, allocations: 12.02 kB / 466.6 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.3948, allocations: 0 / 466.6 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3948, allocations: 0 / 466.6 MB, free: 15.44 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.166e-05/0.3949, allocations: 99.2 kB / 466.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3949, allocations: 0 / 466.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001964/0.3951, allocations: 11.86 kB / 466.7 MB, free: 15.33 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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 9.777e-05/0.3952, allocations: 100.5 kB / 466.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.621e-05/0.3952, allocations: 12 kB / 466.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3952, allocations: 0 / 466.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.056e-05/0.3953, allocations: 4 kB / 466.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.3955, allocations: 14.7 kB / 466.8 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001987/0.3957, allocations: 96.53 kB / 466.9 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.3959, allocations: 0.6885 MB / 467.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.22e-05/0.3959, allocations: 288 / 467.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.396, allocations: 11.44 kB / 467.6 MB, free: 14.35 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.396, allocations: 4 kB / 467.6 MB, free: 14.35 MB / 346.7 MB Notification: Performance of Templates: time 0.001813/0.3978, allocations: 364.7 kB / 467.9 MB, free: 14 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches