Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001589/0.001589, allocations: 200.2 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 226.5 MB / 245.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007759/0.0007758, allocations: 92.45 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000268/0.0002681, allocations: 8 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.295, allocations: 51.29 MB / 409.4 MB, free: 27.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1102/0.4053, allocations: 77.07 MB / 486.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.4056, allocations: 77.14 kB / 486.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002709/0.4083, allocations: 1.1 MB / 487.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4083, allocations: 4 kB / 487.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.4083, allocations: 4 kB / 487.6 MB, free: 13.29 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003365/0.4087, allocations: 347.3 kB / 488 MB, free: 12.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.4087, allocations: 12.03 kB / 488 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.4088, allocations: 8.844 kB / 488 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.4089, allocations: 188.1 kB / 488.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.409, allocations: 8.375 kB / 488.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.409, allocations: 384 / 488.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.4092, allocations: 93.61 kB / 488.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.4092, allocations: 192 / 488.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4093, allocations: 3.938 kB / 488.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.4093, allocations: 0 / 488.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.531e-05/0.4093, allocations: 27.98 kB / 488.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.4097, allocations: 257.8 kB / 488.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.463e-05/0.4098, allocations: 53.08 kB / 488.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.399e-05/0.4099, allocations: 17.78 kB / 488.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.4099, allocations: 4 kB / 488.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.4099, allocations: 34.55 kB / 488.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 2.805e-06/0.4099, allocations: 0 / 488.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002208/0.4101, allocations: 69.62 kB / 488.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.4102, allocations: 85.05 kB / 488.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.4103, allocations: 135.6 kB / 488.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.4104, allocations: 33.58 kB / 489 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.4104, allocations: 88.14 kB / 489.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.048e-05/0.4104, allocations: 3.906 kB / 489.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/0.4104, allocations: 4.156 kB / 489.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4106, allocations: 310.8 kB / 489.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.86e-05/0.4106, allocations: 15.98 kB / 489.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.4107, allocations: 13.72 kB / 489.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.777e-05/0.4107, allocations: 37.77 kB / 489.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4107, allocations: 0 / 489.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.842e-05/0.4108, allocations: 57.56 kB / 489.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4109, allocations: 7.984 kB / 489.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.4109, allocations: 0 / 489.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.4109, allocations: 64 / 489.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.947e-05/0.411, allocations: 12 kB / 489.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.411, allocations: 0 / 489.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.803e-05/0.411, allocations: 8 kB / 489.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.411, allocations: 0 / 489.5 MB, free: 11.12 MB / 362.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 () * Number of clocked 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 7.532e-05/0.4111, allocations: 121.7 kB / 489.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.4112, allocations: 41.61 kB / 489.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.4112, allocations: 3.875 kB / 489.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.4112, allocations: 8.031 kB / 489.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4112, allocations: 3.984 kB / 489.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4112, allocations: 0 / 489.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.4114, allocations: 165.6 kB / 489.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4114, allocations: 0 / 489.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-05/0.4114, allocations: 15.98 kB / 489.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4114, allocations: 0 / 489.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.4115, allocations: 0 / 489.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4115, allocations: 3.938 kB / 489.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4115, allocations: 0 / 489.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.4116, allocations: 172.2 kB / 490.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.4117, allocations: 89.08 kB / 490.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.4117, allocations: 0 / 490.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.571e-05/0.4118, allocations: 4 kB / 490.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.4118, allocations: 8.016 kB / 490.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.4118, allocations: 0 / 490.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.474e-05/0.4119, allocations: 106.1 kB / 490.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4119, allocations: 0 / 490.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001981/0.4121, allocations: 4 kB / 490.3 MB, free: 10.29 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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked 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.544e-05/0.4122, allocations: 95.25 kB / 490.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.4123, allocations: 31.98 kB / 490.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4123, allocations: 0 / 490.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.433e-05/0.4124, allocations: 11.92 kB / 490.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.4127, allocations: 18.77 kB / 490.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.413, allocations: 161.7 kB / 490.6 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.4133, allocations: 0.6887 MB / 491.3 MB, free: 9.227 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.454e-05/0.4134, allocations: 3.984 kB / 491.3 MB, free: 9.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.4134, allocations: 7.438 kB / 491.3 MB, free: 9.215 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4134, allocations: 0 / 491.3 MB, free: 9.215 MB / 362.7 MB Notification: Performance of Templates: time 0.002599/0.416, allocations: 393.5 kB / 491.7 MB, free: 8.836 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches