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.001407/0.001407, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001606/0.001606, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3844, allocations: 50.54 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003737/0.3882, allocations: 1.972 MB / 411.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.3905, allocations: 1.332 MB / 412.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.3907, allocations: 11.94 kB / 412.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.3911, allocations: 71.59 kB / 412.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004433/0.3915, allocations: 135.4 kB / 412.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008618/0.3924, allocations: 270.7 kB / 413 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.3928, allocations: 223.4 kB / 413.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.3929, allocations: 52.27 kB / 413.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.3931, allocations: 95.61 kB / 413.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.3933, allocations: 115.5 kB / 413.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.3933, allocations: 16 kB / 413.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.3935, allocations: 71.95 kB / 413.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.3937, allocations: 63.77 kB / 413.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.3938, allocations: 103.3 kB / 413.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.3942, allocations: 298.8 kB / 414 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3943, allocations: 0 / 414 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3943, allocations: 0 / 414 MB, free: 12.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3943, allocations: 0 / 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.0009896/0.3953, allocations: 0.5907 MB / 414.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3953, allocations: 8.031 kB / 414.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.324e-05/0.3954, allocations: 32.56 kB / 414.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.3958, allocations: 315.5 kB / 415 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.3959, allocations: 16.31 kB / 415 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.3959, allocations: 16.12 kB / 415 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006203/0.3965, allocations: 323.2 kB / 415.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3966, allocations: 0 / 415.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.3966, allocations: 8 kB / 415.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.3966, allocations: 4 kB / 415.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.3968, allocations: 75.83 kB / 415.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.3974, allocations: 414.3 kB / 415.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.3978, allocations: 195.9 kB / 416 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.398, allocations: 94.53 kB / 416.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.398, allocations: 8 kB / 416.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.3982, allocations: 79.38 kB / 416.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.753e-06/0.3982, allocations: 0 / 416.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005575/0.3988, allocations: 249.4 kB / 416.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.3989, allocations: 178.1 kB / 416.6 MB, free: 9.938 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005374/0.3994, allocations: 351 kB / 416.9 MB, free: 9.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.3995, allocations: 33.69 kB / 417 MB, free: 9.547 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.3997, allocations: 136.5 kB / 417.1 MB, free: 9.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.3997, allocations: 31.7 kB / 417.1 MB, free: 9.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.3998, allocations: 49.94 kB / 417.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3999, allocations: 346.7 kB / 417.5 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.995e-05/0.4, allocations: 36.45 kB / 417.6 MB, free: 8.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.4002, allocations: 194.9 kB / 417.8 MB, free: 8.688 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.4005, allocations: 219.4 kB / 418 MB, free: 8.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4005, allocations: 0 / 418 MB, free: 8.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004066/0.4009, allocations: 241.1 kB / 418.2 MB, free: 8.176 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.4009, allocations: 10.81 kB / 418.2 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.401, allocations: 4.375 kB / 418.2 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.401, allocations: 4 kB / 418.2 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.4011, allocations: 39.86 kB / 418.3 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.4012, allocations: 15.92 kB / 418.3 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.4013, allocations: 19.88 kB / 418.3 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.4013, allocations: 12 kB / 418.3 MB, free: 8.074 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.0001809/0.4015, allocations: 184.2 kB / 418.5 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.4017, allocations: 137.2 kB / 418.6 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.417e-05/0.4018, allocations: 33.78 kB / 418.7 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4018, allocations: 0 / 418.7 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.4018, allocations: 7.938 kB / 418.7 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4018, allocations: 3.938 kB / 418.7 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.4021, allocations: 269.4 kB / 418.9 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4021, allocations: 4 kB / 418.9 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.4022, allocations: 35.92 kB / 419 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.4023, allocations: 7.984 kB / 419 MB, free: 7.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.4023, allocations: 0 / 419 MB, free: 7.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.4023, allocations: 4 kB / 419 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4023, allocations: 3.938 kB / 419 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.4027, allocations: 243.5 kB / 419.2 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.4028, allocations: 128.6 kB / 419.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.4029, allocations: 8.062 kB / 419.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-05/0.403, allocations: 15.98 kB / 419.4 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.4031, allocations: 11.92 kB / 419.4 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.4031, allocations: 12 kB / 419.4 MB, free: 6.879 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002788/0.4034, allocations: 253.9 kB / 419.6 MB, free: 6.629 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4034, allocations: 0 / 419.6 MB, free: 6.629 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003279/0.4037, allocations: 48 kB / 419.7 MB, free: 6.582 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.001066/0.4048, allocations: 425 kB / 420.1 MB, free: 6.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000389/0.4052, allocations: 155.2 kB / 420.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4052, allocations: 1.062 kB / 420.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.034e-05/0.4053, allocations: 36.05 kB / 420.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006053/0.4059, allocations: 135.6 kB / 420.4 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009005/0.4068, allocations: 458.5 kB / 420.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.4073, allocations: 0.7753 MB / 421.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.4074, allocations: 30.28 kB / 421.7 MB, free: 4.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/0.4075, allocations: 31.42 kB / 421.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4075, allocations: 0 / 421.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of Templates: time 0.008343/0.4159, allocations: 3.535 MB / 425.2 MB, free: 1.117 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