Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 177.1 kB / 8.35 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.251/1.251, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.0008553/0.0008552, allocations: 87.12 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.34e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09282/0.09286, allocations: 50.42 MB / 387.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2944/0.3873, allocations: 77.58 MB / 465 MB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001732/0.3875, allocations: 79.95 kB / 465.1 MB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0153/0.4028, allocations: 5.553 MB / 470.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.997e-06/0.4029, allocations: 0 / 470.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.4029, allocations: 11.94 kB / 470.7 MB, free: 11.61 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006417/0.4036, allocations: 466.5 kB / 471.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.4036, allocations: 8.031 kB / 471.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.4037, allocations: 23.72 kB / 471.2 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.404, allocations: 242.5 kB / 471.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.4041, allocations: 11.98 kB / 471.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.4041, allocations: 12 kB / 471.4 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003282/0.4044, allocations: 172.3 kB / 471.6 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008176/0.4053, allocations: 0.5755 MB / 472.2 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4053, allocations: 0 / 472.2 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.4053, allocations: 0 / 472.2 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.4053, allocations: 12.48 kB / 472.2 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.4058, allocations: 342.8 kB / 472.5 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.4062, allocations: 209.3 kB / 472.7 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.4064, allocations: 138.7 kB / 472.9 MB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.4064, allocations: 12.09 kB / 472.9 MB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.4064, allocations: 42.55 kB / 472.9 MB, free: 9.188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 1.543e-06/0.4064, allocations: 0 / 472.9 MB, free: 9.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.0004657/0.4069, allocations: 266.9 kB / 473.2 MB, free: 8.922 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/0.407, allocations: 126.8 kB / 473.3 MB, free: 8.773 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.4071, allocations: 145.5 kB / 473.4 MB, free: 8.625 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.4072, allocations: 25.7 kB / 473.5 MB, free: 8.594 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.4072, allocations: 96.92 kB / 473.6 MB, free: 8.496 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.4073, allocations: 43.62 kB / 473.6 MB, free: 8.453 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.4073, allocations: 0 / 473.6 MB, free: 8.453 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4074, allocations: 338.8 kB / 473.9 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.787e-05/0.4075, allocations: 56.86 kB / 474 MB, free: 8.059 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.4077, allocations: 305.9 kB / 474.3 MB, free: 7.637 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.4079, allocations: 115.8 kB / 474.4 MB, free: 7.523 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.4079, allocations: 4 kB / 474.4 MB, free: 7.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004458/0.4083, allocations: 337.4 kB / 474.7 MB, free: 7.184 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.4084, allocations: 8 kB / 474.8 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.4084, allocations: 11.95 kB / 474.8 MB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.4084, allocations: 19.92 kB / 474.8 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.4086, allocations: 79.84 kB / 474.9 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.4087, allocations: 15.94 kB / 474.9 MB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.4088, allocations: 32.17 kB / 474.9 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.4089, allocations: 24 kB / 474.9 MB, free: 6.996 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 (FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.upSample.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 9.329e-05/0.409, allocations: 128.7 kB / 475.1 MB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003533/0.4093, allocations: 262.5 kB / 475.3 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.21e-05/0.4094, allocations: 31.39 kB / 475.3 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.4094, allocations: 11.95 kB / 475.4 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4094, allocations: 4 kB / 475.4 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4094, allocations: 0 / 475.4 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.4096, allocations: 202 kB / 475.6 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4096, allocations: 4 kB / 475.6 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.4099, allocations: 63.91 kB / 475.6 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.4099, allocations: 4 kB / 475.6 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.41, allocations: 7.984 kB / 475.6 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.41, allocations: 0 / 475.6 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.41, allocations: 0 / 475.6 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.4104, allocations: 419.3 kB / 476 MB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.4105, allocations: 128.7 kB / 476.2 MB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.329e-05/0.4106, allocations: 19.94 kB / 476.2 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.4107, allocations: 7.938 kB / 476.2 MB, free: 5.629 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.4108, allocations: 7.984 kB / 476.2 MB, free: 5.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.4108, allocations: 12 kB / 476.2 MB, free: 5.609 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.988e-05/0.4109, allocations: 127.2 kB / 476.3 MB, free: 5.484 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4109, allocations: 4 kB / 476.3 MB, free: 5.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003758/0.4113, allocations: 36 kB / 476.4 MB, free: 5.445 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 (superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b_super,FIR2.first,FIR1.first,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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 0.0001214/0.4114, allocations: 101.2 kB / 476.5 MB, free: 5.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003357/0.4117, allocations: 241.9 kB / 476.7 MB, free: 5.105 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4117, allocations: 3.938 kB / 476.7 MB, free: 5.102 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.357e-05/0.4118, allocations: 8.062 kB / 476.7 MB, free: 5.094 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.4122, allocations: 185.5 kB / 476.9 MB, free: 4.914 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008336/0.4131, allocations: 369.6 kB / 477.3 MB, free: 4.523 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.4134, allocations: 0.7882 MB / 478.1 MB, free: 3.699 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.392e-05/0.4135, allocations: 26.05 kB / 478.1 MB, free: 3.668 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.4135, allocations: 27.38 kB / 478.1 MB, free: 3.645 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4135, allocations: 0 / 478.1 MB, free: 3.645 MB / 346.7 MB Notification: Performance of Templates: time 0.004895/0.4185, allocations: 2.221 MB / 480.3 MB, free: 1.43 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches