Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 116.4 kB / 18.45 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.001305/0.001305, allocations: 204 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.402/1.402, allocations: 227.7 MB / 247.9 MB, free: 10.21 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.89 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2868, allocations: 50.54 MB / 410.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003175/0.29, allocations: 1.762 MB / 412 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.2912, allocations: 0.5999 MB / 412.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.2913, allocations: 7.938 kB / 412.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.646e-05/0.2914, allocations: 7.875 kB / 412.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.2915, allocations: 23.78 kB / 412.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.292, allocations: 91.77 kB / 412.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.2921, allocations: 103.7 kB / 412.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.2923, allocations: 17.45 kB / 412.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.2924, allocations: 59.7 kB / 412.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.139e-05/0.2925, allocations: 39.78 kB / 412.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.2925, allocations: 11.98 kB / 412.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.877e-05/0.2926, allocations: 8 kB / 412.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.457e-05/0.2927, allocations: 31.91 kB / 413 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.055e-05/0.2927, allocations: 43.67 kB / 413 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.293, allocations: 119.3 kB / 413.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.293, allocations: 0 / 413.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.293, allocations: 4 kB / 413.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.293, allocations: 4 kB / 413.1 MB, free: 14.53 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.0006414/0.2936, allocations: 418.9 kB / 413.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2936, allocations: 12.03 kB / 413.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.2938, allocations: 24.83 kB / 413.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.2942, allocations: 236 kB / 413.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.2942, allocations: 8.375 kB / 413.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.2942, allocations: 12.38 kB / 413.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005289/0.2948, allocations: 262.6 kB / 414.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.2948, allocations: 0 / 414.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.2948, allocations: 4 kB / 414.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.2948, allocations: 4 kB / 414.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.295, allocations: 51.91 kB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.2954, allocations: 310.4 kB / 414.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.2956, allocations: 131.8 kB / 414.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.2958, allocations: 66.62 kB / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.2958, allocations: 8.125 kB / 414.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.2958, allocations: 38.56 kB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.2958, allocations: 0 / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004311/0.2963, allocations: 169.4 kB / 414.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.931e-05/0.2964, allocations: 118.9 kB / 415 MB, free: 12.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.2965, allocations: 162.1 kB / 415.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.2965, allocations: 29.7 kB / 415.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/0.2966, allocations: 100 kB / 415.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.2966, allocations: 19.89 kB / 415.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.2967, allocations: 33.72 kB / 415.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2968, allocations: 326.8 kB / 415.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.275e-05/0.2969, allocations: 31.98 kB / 415.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.2971, allocations: 123.9 kB / 415.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.2973, allocations: 182.3 kB / 416 MB, free: 11.33 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2973, allocations: 0 / 416 MB, free: 11.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002962/0.2976, allocations: 181.4 kB / 416.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.2976, allocations: 8 kB / 416.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.2976, allocations: 4 kB / 416.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.2976, allocations: 4 kB / 416.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.2978, allocations: 43.86 kB / 416.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.2978, allocations: 4 kB / 416.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.448e-05/0.2979, allocations: 15.88 kB / 416.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.2979, allocations: 16 kB / 416.2 MB, free: 11.05 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.298, allocations: 142.2 kB / 416.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.2982, allocations: 125.8 kB / 416.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.2982, allocations: 16.72 kB / 416.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2982, allocations: 4 kB / 416.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2982, allocations: 0 / 416.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.2983, allocations: 7.922 kB / 416.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.2985, allocations: 197.6 kB / 416.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2985, allocations: 0 / 416.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.2986, allocations: 27.92 kB / 416.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2986, allocations: 8 kB / 416.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.2986, allocations: 4 kB / 416.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.2986, allocations: 4 kB / 416.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2986, allocations: 0 / 416.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.299, allocations: 256.9 kB / 417 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.372e-05/0.2991, allocations: 112.9 kB / 417.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.2991, allocations: 0 / 417.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.883e-05/0.2992, allocations: 8 kB / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.2992, allocations: 7.922 kB / 417.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.2992, allocations: 4 kB / 417.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.447e-05/0.2993, allocations: 120.1 kB / 417.3 MB, free: 9.922 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2993, allocations: 0 / 417.3 MB, free: 9.922 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.2996, allocations: 20 kB / 417.3 MB, free: 9.902 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.000139/0.2997, allocations: 107.2 kB / 417.4 MB, free: 9.789 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.3, allocations: 103.8 kB / 417.5 MB, free: 9.688 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3, allocations: 0 / 417.5 MB, free: 9.688 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.936e-05/0.3001, allocations: 16.98 kB / 417.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.3005, allocations: 82.53 kB / 417.6 MB, free: 9.598 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.3011, allocations: 265.7 kB / 417.8 MB, free: 9.305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.3014, allocations: 0.7283 MB / 418.6 MB, free: 8.551 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.913e-05/0.3015, allocations: 9.438 kB / 418.6 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.3015, allocations: 19.42 kB / 418.6 MB, free: 8.523 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3015, allocations: 0 / 418.6 MB, free: 8.523 MB / 334.1 MB Notification: Performance of Templates: time 0.004447/0.306, allocations: 1.234 MB / 419.8 MB, free: 7.297 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches