Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001776/0.001776, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002136/0.002136, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.578/1.578, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3983, allocations: 50.55 MB / 409.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003584/0.4019, allocations: 1.506 MB / 410.8 MB, free: 96 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004993/0.4025, allocations: 139.5 kB / 410.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.4026, allocations: 4 kB / 410.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.711e-05/0.4027, allocations: 3.938 kB / 410.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.4028, allocations: 7.922 kB / 410.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.4031, allocations: 35.91 kB / 410.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.4033, allocations: 31.92 kB / 411 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.4034, allocations: 19.97 kB / 411 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.199e-05/0.4035, allocations: 7.938 kB / 411 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.4035, allocations: 19.86 kB / 411 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.4035, allocations: 4 kB / 411 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.4036, allocations: 4 kB / 411 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.959e-05/0.4036, allocations: 19.91 kB / 411 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.4037, allocations: 19.88 kB / 411.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.4038, allocations: 51.7 kB / 411.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4038, allocations: 0 / 411.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.4039, allocations: 4 kB / 411.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.4039, allocations: 0 / 411.1 MB, free: 15.73 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005811/0.4045, allocations: 363.1 kB / 411.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.4045, allocations: 8.031 kB / 411.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.4046, allocations: 16.84 kB / 411.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.4049, allocations: 193.5 kB / 411.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.405, allocations: 4.375 kB / 411.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.405, allocations: 384 / 411.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.4054, allocations: 129.5 kB / 411.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4054, allocations: 192 / 411.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.4055, allocations: 3.938 kB / 411.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.4055, allocations: 0 / 411.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.822e-05/0.4056, allocations: 19.98 kB / 411.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.406, allocations: 265.7 kB / 412.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.4063, allocations: 138.2 kB / 412.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.412e-05/0.4064, allocations: 29.77 kB / 412.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.4064, allocations: 4 kB / 412.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.4065, allocations: 38.5 kB / 412.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.4065, allocations: 0 / 412.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000319/0.4068, allocations: 73.61 kB / 412.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/0.4069, allocations: 81.09 kB / 412.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.4071, allocations: 142 kB / 412.6 MB, free: 14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.4071, allocations: 25.7 kB / 412.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.4072, allocations: 84.14 kB / 412.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.4072, allocations: 4.125 kB / 412.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.4073, allocations: 25.7 kB / 412.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.4075, allocations: 314.8 kB / 413 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.133e-05/0.4075, allocations: 8 kB / 413 MB, free: 13.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.277e-05/0.4076, allocations: 31.42 kB / 413.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.4077, allocations: 55.36 kB / 413.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4077, allocations: 0 / 413.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001674/0.4079, allocations: 73.39 kB / 413.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.408, allocations: 4 kB / 413.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.408, allocations: 8.125 kB / 413.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.408, allocations: 0 / 413.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/0.4081, allocations: 8 kB / 413.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.4081, allocations: 0 / 413.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.4082, allocations: 7.984 kB / 413.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.4082, allocations: 0 / 413.2 MB, free: 13.31 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.4083, allocations: 125.7 kB / 413.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.543e-05/0.4084, allocations: 53.81 kB / 413.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.873e-05/0.4085, allocations: 12.28 kB / 413.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-06/0.4085, allocations: 8 kB / 413.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4085, allocations: 0 / 413.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4085, allocations: 3.938 kB / 413.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.4088, allocations: 173.5 kB / 413.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.4088, allocations: 4 kB / 413.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.991e-05/0.4089, allocations: 7.984 kB / 413.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.4089, allocations: 4 kB / 413.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.4089, allocations: 0 / 413.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.4089, allocations: 4 kB / 413.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4089, allocations: 0 / 413.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.4092, allocations: 176.2 kB / 413.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.396e-05/0.4093, allocations: 89.09 kB / 413.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.4093, allocations: 0 / 413.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.214e-05/0.4094, allocations: 7.938 kB / 413.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.4094, allocations: 0 / 413.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.4095, allocations: 0 / 413.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.4096, allocations: 114.2 kB / 414 MB, free: 12.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4096, allocations: 0 / 414 MB, free: 12.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003501/0.4099, allocations: 4 kB / 414 MB, free: 12.43 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001154/0.4101, allocations: 99.25 kB / 414.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.4102, allocations: 31.92 kB / 414.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4102, allocations: 0 / 414.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.441e-05/0.4103, allocations: 12.23 kB / 414.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.4106, allocations: 27.86 kB / 414.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.4109, allocations: 150.4 kB / 414.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.4113, allocations: 0.6924 MB / 415 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.519e-05/0.4114, allocations: 7.984 kB / 415 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.4114, allocations: 7.438 kB / 415 MB, free: 11.34 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4114, allocations: 64 / 415 MB, free: 11.34 MB / 334.1 MB Notification: Performance of Templates: time 0.003066/0.4145, allocations: 0.4935 MB / 415.5 MB, free: 10.85 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches