Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001566/0.001566, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002123/0.002123, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.689/2.689, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 63.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3022, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003406/0.3056, allocations: 1.758 MB / 411.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.3068, allocations: 0.596 MB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.965e-05/0.3069, allocations: 3.938 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.323e-05/0.307, allocations: 11.86 kB / 412.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.3072, allocations: 19.8 kB / 412.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.3077, allocations: 111.2 kB / 412.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.3079, allocations: 91.7 kB / 412.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.308, allocations: 25.44 kB / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.3081, allocations: 55.77 kB / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.563e-05/0.3082, allocations: 43.72 kB / 412.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.3083, allocations: 8 kB / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.009e-05/0.3083, allocations: 16 kB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.644e-05/0.3084, allocations: 23.91 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.465e-05/0.3085, allocations: 51.67 kB / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.3087, allocations: 111.5 kB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3087, allocations: 3.984 kB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3087, allocations: 0 / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.3087, allocations: 0 / 412.9 MB, free: 14.64 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006178/0.3094, allocations: 428.1 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3094, allocations: 12.03 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.3096, allocations: 24.75 kB / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.3099, allocations: 227.9 kB / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.31, allocations: 8.375 kB / 413.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.31, allocations: 8.375 kB / 413.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005168/0.3105, allocations: 273.1 kB / 413.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3105, allocations: 8 kB / 413.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3105, allocations: 0 / 413.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3106, allocations: 0 / 413.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.3107, allocations: 51.91 kB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.3111, allocations: 314.4 kB / 414.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.3114, allocations: 135.9 kB / 414.3 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.3115, allocations: 74.59 kB / 414.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.3116, allocations: 4.141 kB / 414.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3116, allocations: 38.56 kB / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.3116, allocations: 0 / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005403/0.3122, allocations: 173.3 kB / 414.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.24e-05/0.3123, allocations: 118.7 kB / 414.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.3124, allocations: 154.2 kB / 414.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.3124, allocations: 29.7 kB / 414.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.3125, allocations: 96.22 kB / 415 MB, free: 12.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.3125, allocations: 19.8 kB / 415 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.3126, allocations: 37.7 kB / 415 MB, free: 12.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.3127, allocations: 330.8 kB / 415.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.603e-05/0.3128, allocations: 23.98 kB / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.3129, allocations: 134 kB / 415.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.3131, allocations: 170.3 kB / 415.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3131, allocations: 0 / 415.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002748/0.3134, allocations: 185.1 kB / 415.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3134, allocations: 8 kB / 415.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.3134, allocations: 4.531 kB / 415.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.3135, allocations: 11.98 kB / 415.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.3136, allocations: 31.91 kB / 415.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.3136, allocations: 8 kB / 415.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-05/0.3137, allocations: 11.94 kB / 415.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.3137, allocations: 12 kB / 416 MB, free: 11.16 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * 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 (21): * Single equations (assignments): 21 * 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.0001203/0.3139, allocations: 142.5 kB / 416.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.314, allocations: 121.7 kB / 416.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.3141, allocations: 24.7 kB / 416.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3141, allocations: 4 kB / 416.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.3141, allocations: 4 kB / 416.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.3141, allocations: 7.875 kB / 416.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.3144, allocations: 193.5 kB / 416.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3144, allocations: 4 kB / 416.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.3145, allocations: 31.92 kB / 416.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.3145, allocations: 4 kB / 416.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3145, allocations: 0 / 416.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3145, allocations: 0 / 416.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3145, allocations: 4 kB / 416.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.3148, allocations: 260.9 kB / 416.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.217e-05/0.3149, allocations: 104.8 kB / 416.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.315, allocations: 7.984 kB / 416.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.187e-05/0.3151, allocations: 8 kB / 416.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.3151, allocations: 3.938 kB / 416.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.3151, allocations: 8 kB / 416.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.898e-05/0.3152, allocations: 123.2 kB / 417 MB, free: 10.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3153, allocations: 0 / 417 MB, free: 10.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.3155, allocations: 20 kB / 417 MB, free: 10 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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * 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 (17): * Single equations (assignments): 17 * 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.0001314/0.3157, allocations: 103.6 kB / 417.1 MB, free: 9.891 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002627/0.3159, allocations: 116.5 kB / 417.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.316, allocations: 0 / 417.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.83e-05/0.316, allocations: 8 kB / 417.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005605/0.3166, allocations: 90.27 kB / 417.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000584/0.3172, allocations: 287.5 kB / 417.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.3176, allocations: 0.7209 MB / 418.3 MB, free: 8.617 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.3176, allocations: 19.42 kB / 418.3 MB, free: 8.598 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3176, allocations: 3.938 kB / 418.3 MB, free: 8.594 MB / 334.1 MB Notification: Performance of Templates: time 0.003186/0.3208, allocations: 1.514 MB / 419.9 MB, free: 7.086 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches