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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 104.8 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008997/0.0009002, allocations: 39.94 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2955, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002884/0.2985, allocations: 1.784 MB / 401.3 MB, free: 31.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007757/0.2993, allocations: 0.522 MB / 401.8 MB, free: 31.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.2994, allocations: 4 kB / 401.8 MB, free: 31.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.611e-05/0.2995, allocations: 11.86 kB / 401.8 MB, free: 31.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.2996, allocations: 17.69 kB / 401.8 MB, free: 31.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.3, allocations: 79.78 kB / 401.9 MB, free: 30.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.3001, allocations: 83.72 kB / 402 MB, free: 30.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3003, allocations: 33.09 kB / 402 MB, free: 30.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.646e-05/0.3004, allocations: 39.84 kB / 402.1 MB, free: 30.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.3004, allocations: 43.77 kB / 402.1 MB, free: 30.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.3005, allocations: 4 kB / 402.1 MB, free: 30.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.799e-05/0.3005, allocations: 4 kB / 402.1 MB, free: 30.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.3006, allocations: 27.86 kB / 402.1 MB, free: 30.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.053e-05/0.3006, allocations: 51.67 kB / 402.2 MB, free: 30.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.3008, allocations: 99.59 kB / 402.3 MB, free: 30.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3008, allocations: 0 / 402.3 MB, free: 30.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3008, allocations: 0 / 402.3 MB, free: 30.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.3008, allocations: 4 kB / 402.3 MB, free: 30.57 MB / 298.7 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.0005301/0.3013, allocations: 420.5 kB / 402.7 MB, free: 30.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3014, allocations: 8.031 kB / 402.7 MB, free: 30.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.3014, allocations: 16.75 kB / 402.7 MB, free: 30.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.3016, allocations: 220 kB / 402.9 MB, free: 29.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.3017, allocations: 8.375 kB / 402.9 MB, free: 29.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.3017, allocations: 8.375 kB / 403 MB, free: 29.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000425/0.3021, allocations: 268.1 kB / 403.2 MB, free: 29.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3021, allocations: 0 / 403.2 MB, free: 29.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.3022, allocations: 11.92 kB / 403.2 MB, free: 29.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3022, allocations: 8 kB / 403.2 MB, free: 29.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.3023, allocations: 47.92 kB / 403.3 MB, free: 29.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.3026, allocations: 310.4 kB / 403.6 MB, free: 29.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.3028, allocations: 139.8 kB / 403.7 MB, free: 28.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3029, allocations: 74.66 kB / 403.8 MB, free: 28.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.303, allocations: 8.141 kB / 403.8 MB, free: 28.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.303, allocations: 34.56 kB / 403.8 MB, free: 28.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.693e-06/0.303, allocations: 0 / 403.8 MB, free: 28.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003818/0.3034, allocations: 181.6 kB / 404 MB, free: 28.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.3034, allocations: 126.7 kB / 404.1 MB, free: 28.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3036, allocations: 153.3 kB / 404.3 MB, free: 28.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.3036, allocations: 29.7 kB / 404.3 MB, free: 28.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.3036, allocations: 96.08 kB / 404.4 MB, free: 28.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.3036, allocations: 15.8 kB / 404.4 MB, free: 28.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.3037, allocations: 37.7 kB / 404.5 MB, free: 28.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.713e-05/0.3037, allocations: 330.8 kB / 404.8 MB, free: 27.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.174e-05/0.3038, allocations: 27.98 kB / 404.8 MB, free: 27.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.713e-05/0.3039, allocations: 126.6 kB / 404.9 MB, free: 27.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.3041, allocations: 174.3 kB / 405.1 MB, free: 27.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3041, allocations: 0 / 405.1 MB, free: 27.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002214/0.3043, allocations: 181.2 kB / 405.3 MB, free: 27.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3043, allocations: 8 kB / 405.3 MB, free: 27.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.3043, allocations: 4 kB / 405.3 MB, free: 27.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3044, allocations: 4 kB / 405.3 MB, free: 27.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.3045, allocations: 35.92 kB / 405.3 MB, free: 27.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.3045, allocations: 7.984 kB / 405.3 MB, free: 27.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.429e-05/0.3046, allocations: 7.938 kB / 405.3 MB, free: 27.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.3046, allocations: 16.38 kB / 405.4 MB, free: 27.11 MB / 298.7 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.0001144/0.3047, allocations: 141.6 kB / 405.5 MB, free: 26.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.3049, allocations: 121.4 kB / 405.6 MB, free: 26.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.814e-05/0.3049, allocations: 20.7 kB / 405.6 MB, free: 26.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.3049, allocations: 0 / 405.6 MB, free: 26.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3049, allocations: 4 kB / 405.6 MB, free: 26.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.305, allocations: 3.938 kB / 405.6 MB, free: 26.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.3051, allocations: 193.6 kB / 405.8 MB, free: 26.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3051, allocations: 3.938 kB / 405.8 MB, free: 26.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.835e-05/0.3052, allocations: 31.92 kB / 405.9 MB, free: 26.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3052, allocations: 0 / 405.9 MB, free: 26.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3052, allocations: 8 kB / 405.9 MB, free: 26.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3053, allocations: 0 / 405.9 MB, free: 26.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3053, allocations: 4 kB / 405.9 MB, free: 26.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.3058, allocations: 0.8504 MB / 406.7 MB, free: 25.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.3059, allocations: 112.8 kB / 406.8 MB, free: 25.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.3059, allocations: 12 kB / 406.9 MB, free: 25.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.306, allocations: 0 / 406.9 MB, free: 25.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.306, allocations: 4 kB / 406.9 MB, free: 25.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/0.306, allocations: 4 kB / 406.9 MB, free: 25.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.86e-05/0.3061, allocations: 115.2 kB / 407 MB, free: 25.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3061, allocations: 3.938 kB / 407 MB, free: 25.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003546/0.3065, allocations: 31.89 kB / 407 MB, free: 25.31 MB / 298.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: 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 9.819e-05/0.3066, allocations: 103.2 kB / 407.1 MB, free: 25.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.3068, allocations: 107.4 kB / 407.2 MB, free: 25.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3068, allocations: 0 / 407.2 MB, free: 25.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.48e-05/0.3068, allocations: 12.06 kB / 407.2 MB, free: 25.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.3073, allocations: 79.88 kB / 407.3 MB, free: 25.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.3078, allocations: 462.3 kB / 407.8 MB, free: 24.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.308, allocations: 0.7243 MB / 408.5 MB, free: 23.76 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.446e-05/0.308, allocations: 21.41 kB / 408.5 MB, free: 23.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.3081, allocations: 11.44 kB / 408.5 MB, free: 23.73 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.3081, allocations: 0 / 408.5 MB, free: 23.73 MB / 298.7 MB Notification: Performance of Templates: time 0.003661/0.3118, allocations: 1.173 MB / 409.7 MB, free: 22.56 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches