Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 107.5 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00235/0.002351, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.348/2.348, allocations: 222.9 MB / 241.8 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002306, allocations: 48.05 kB / 300.6 MB, free: 6.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2023, allocations: 49.44 MB / 350.1 MB, free: 4.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.007609/0.2101, allocations: 1.797 MB / 351.9 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.2123, allocations: 0.5376 MB / 352.4 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002455/0.2126, allocations: 3.938 kB / 352.4 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.2128, allocations: 3.938 kB / 352.4 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.2131, allocations: 11.92 kB / 352.4 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009022/0.2141, allocations: 80.67 kB / 352.5 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004608/0.2145, allocations: 87.7 kB / 352.6 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.2148, allocations: 29.11 kB / 352.6 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.2151, allocations: 35.84 kB / 352.6 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.2152, allocations: 43.72 kB / 352.7 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.2153, allocations: 4 kB / 352.7 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.752e-05/0.2153, allocations: 8 kB / 352.7 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.2154, allocations: 31.89 kB / 352.7 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.2155, allocations: 47.67 kB / 352.8 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.2158, allocations: 67.88 kB / 352.8 MB, free: 1.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.2158, allocations: 0 / 352.8 MB, free: 1.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.35e-06/0.2158, allocations: 0 / 352.8 MB, free: 1.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.2158, allocations: 3.938 kB / 352.8 MB, free: 1.836 MB / 286.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.001133/0.217, allocations: 427.2 kB / 353.3 MB, free: 1.371 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.972e-05/0.2171, allocations: 8.031 kB / 353.3 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.145e-05/0.2172, allocations: 24.69 kB / 353.3 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.2176, allocations: 208.1 kB / 353.5 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.2177, allocations: 12.31 kB / 353.5 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.2177, allocations: 8.375 kB / 353.5 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008116/0.2185, allocations: 281.4 kB / 353.8 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.2186, allocations: 0 / 353.8 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.2186, allocations: 0 / 353.8 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.2186, allocations: 7.984 kB / 353.8 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.2188, allocations: 55.91 kB / 353.9 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007898/0.2197, allocations: 310.4 kB / 354.2 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004825/0.2202, allocations: 135.9 kB / 354.3 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.2204, allocations: 70.61 kB / 354.4 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.894e-05/0.2205, allocations: 4 kB / 354.4 MB, free: 124 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/0.2206, allocations: 38.5 kB / 354.4 MB, free: 76 kB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 2.004e-06/0.2206, allocations: 0 / 354.4 MB, free: 76 kB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008348/0.2214, allocations: 177.3 kB / 354.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.2216, allocations: 123 kB / 354.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.2219, allocations: 150.2 kB / 354.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.2219, allocations: 25.7 kB / 354.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.491e-05/0.222, allocations: 92.12 kB / 355 MB, free: 15.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.2221, allocations: 19.8 kB / 355 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.563e-05/0.2222, allocations: 33.84 kB / 355 MB, free: 15.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.2224, allocations: 330.8 kB / 355.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.2226, allocations: 27.98 kB / 355.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.2229, allocations: 145.3 kB / 355.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.2233, allocations: 170.4 kB / 355.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.2234, allocations: 0 / 355.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005665/0.2239, allocations: 181.1 kB / 355.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.224, allocations: 8 kB / 355.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.224, allocations: 4 kB / 355.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.231e-05/0.2241, allocations: 4 kB / 355.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.2243, allocations: 31.92 kB / 355.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.662e-05/0.2244, allocations: 8.531 kB / 355.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.2246, allocations: 15.92 kB / 355.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.2247, allocations: 15.94 kB / 355.9 MB, free: 14.37 MB / 302.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.0002092/0.2249, allocations: 129.8 kB / 356.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003769/0.2253, allocations: 129.7 kB / 356.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.498e-05/0.2254, allocations: 16.72 kB / 356.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2254, allocations: 0 / 356.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.2254, allocations: 7.984 kB / 356.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.2254, allocations: 3.938 kB / 356.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003996/0.2259, allocations: 193.5 kB / 356.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.2259, allocations: 7.984 kB / 356.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.2261, allocations: 23.98 kB / 356.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.2261, allocations: 0 / 356.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.2261, allocations: 8 kB / 356.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2262, allocations: 0 / 356.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2262, allocations: 0 / 356.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.2268, allocations: 255.6 kB / 356.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.227, allocations: 108.8 kB / 356.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.227, allocations: 4 kB / 356.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.2272, allocations: 8 kB / 356.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.2273, allocations: 7.922 kB / 356.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.2273, allocations: 4 kB / 356.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.2275, allocations: 117.1 kB / 356.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2275, allocations: 0 / 356.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005252/0.2281, allocations: 20 kB / 357 MB, free: 13.24 MB / 302.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.0002192/0.2283, allocations: 122.3 kB / 357.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004583/0.2288, allocations: 103.8 kB / 357.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.2288, allocations: 5.062 kB / 357.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.779e-05/0.2289, allocations: 15.92 kB / 357.2 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009669/0.2299, allocations: 77.77 kB / 357.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.231, allocations: 337.2 kB / 357.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.2315, allocations: 0.7205 MB / 358.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.029e-05/0.2316, allocations: 15.81 kB / 358.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2316, allocations: 0 / 358.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Templates: time 0.006613/0.2383, allocations: 1.448 MB / 359.8 MB, free: 10.34 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches