Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00124/0.00124, allocations: 114.2 kB / 17.78 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.001238/0.001237, allocations: 209.2 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 55.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3783, allocations: 50.54 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.004909/0.3832, allocations: 1.979 MB / 411.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.3862, allocations: 1.34 MB / 412.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003191/0.3866, allocations: 15.88 kB / 412.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005135/0.3872, allocations: 67.59 kB / 412.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006412/0.3879, allocations: 139.4 kB / 412.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.3889, allocations: 270.6 kB / 413 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004354/0.3894, allocations: 223.4 kB / 413.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.3896, allocations: 36.3 kB / 413.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.3898, allocations: 95.61 kB / 413.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.39, allocations: 119.5 kB / 413.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.3901, allocations: 12 kB / 413.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.3903, allocations: 75.94 kB / 413.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.3904, allocations: 67.75 kB / 413.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.3906, allocations: 95.36 kB / 413.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006105/0.3912, allocations: 298.5 kB / 414 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3912, allocations: 0 / 414 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.3912, allocations: 0 / 414 MB, free: 12.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.3913, allocations: 4 kB / 414 MB, free: 12.77 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001329/0.3926, allocations: 0.6048 MB / 414.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.3926, allocations: 12.03 kB / 414.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.3928, allocations: 28.75 kB / 414.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005716/0.3933, allocations: 307.7 kB / 415 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.3934, allocations: 20.34 kB / 415 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.3934, allocations: 12.12 kB / 415 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006756/0.3941, allocations: 334.3 kB / 415.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3941, allocations: 0 / 415.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.3942, allocations: 4 kB / 415.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.3942, allocations: 4 kB / 415.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.3944, allocations: 63.91 kB / 415.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000718/0.3951, allocations: 430.2 kB / 415.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.3955, allocations: 188 kB / 416 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.3957, allocations: 102.5 kB / 416.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.417e-05/0.3957, allocations: 8 kB / 416.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.3959, allocations: 71.38 kB / 416.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.884e-06/0.3959, allocations: 0 / 416.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006418/0.3966, allocations: 261.5 kB / 416.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.3967, allocations: 178.5 kB / 416.6 MB, free: 9.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.3972, allocations: 354.9 kB / 417 MB, free: 9.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.3973, allocations: 29.7 kB / 417 MB, free: 9.527 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.3974, allocations: 128.7 kB / 417.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.23e-05/0.3975, allocations: 39.77 kB / 417.2 MB, free: 9.359 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.76e-05/0.3976, allocations: 53.89 kB / 417.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3977, allocations: 342.8 kB / 417.6 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.3979, allocations: 44.44 kB / 417.6 MB, free: 8.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.3981, allocations: 186.9 kB / 417.8 MB, free: 8.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.3984, allocations: 211.2 kB / 418 MB, free: 8.406 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.3984, allocations: 0 / 418 MB, free: 8.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003658/0.3987, allocations: 237.3 kB / 418.2 MB, free: 8.168 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3988, allocations: 8 kB / 418.2 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3988, allocations: 4 kB / 418.2 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.3988, allocations: 4 kB / 418.2 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.399, allocations: 47.84 kB / 418.3 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.399, allocations: 12.23 kB / 418.3 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.3991, allocations: 15.95 kB / 418.3 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.3992, allocations: 20.31 kB / 418.3 MB, free: 8.059 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,sum.y,sum.u[2],sum.u[1],upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001916/0.3994, allocations: 179.9 kB / 418.5 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.3996, allocations: 145.4 kB / 418.6 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.275e-05/0.3997, allocations: 33.78 kB / 418.7 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3997, allocations: 4 kB / 418.7 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.3997, allocations: 3.938 kB / 418.7 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.3997, allocations: 3.984 kB / 418.7 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.4, allocations: 273.4 kB / 419 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4, allocations: 0 / 419 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.4001, allocations: 35.92 kB / 419 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4001, allocations: 4 kB / 419 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.4002, allocations: 4.469 kB / 419 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4002, allocations: 0 / 419 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4002, allocations: 3.938 kB / 419 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.4005, allocations: 258 kB / 419.3 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.4007, allocations: 128.9 kB / 419.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.4007, allocations: 8 kB / 419.4 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.041e-05/0.4008, allocations: 8 kB / 419.4 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.88e-05/0.4009, allocations: 11.92 kB / 419.4 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.4009, allocations: 8 kB / 419.4 MB, free: 6.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002419/0.4012, allocations: 257.9 kB / 419.7 MB, free: 6.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4012, allocations: 0 / 419.7 MB, free: 6.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.4015, allocations: 51.92 kB / 419.7 MB, free: 6.559 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,sum.u[1],sum.u[2],sum.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009558/0.4025, allocations: 428.4 kB / 420.1 MB, free: 6.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003249/0.4028, allocations: 152.7 kB / 420.3 MB, free: 6.121 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4028, allocations: 0 / 420.3 MB, free: 6.121 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.986e-05/0.4029, allocations: 27.98 kB / 420.3 MB, free: 6.094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.4034, allocations: 127.7 kB / 420.4 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007344/0.4041, allocations: 465.7 kB / 420.9 MB, free: 5.477 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.4045, allocations: 0.7755 MB / 421.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.72e-05/0.4046, allocations: 42.73 kB / 421.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/0.4046, allocations: 27.44 kB / 421.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4046, allocations: 3.938 kB / 421.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of Templates: time 0.007336/0.412, allocations: 3.536 MB / 425.3 MB, free: 1.086 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches