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.001879/0.001879, allocations: 107.1 kB / 17.74 MB, free: 5.297 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.00218/0.00218, allocations: 188.2 kB / 18.67 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 52.06 kB / 352 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.323, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003039/0.3261, allocations: 1.744 MB / 403.2 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009434/0.3271, allocations: 0.5375 MB / 403.7 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.166e-05/0.3272, allocations: 4 kB / 403.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.856e-05/0.3272, allocations: 7.875 kB / 403.7 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.3274, allocations: 19.8 kB / 403.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.3278, allocations: 95.7 kB / 403.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.3279, allocations: 87.77 kB / 403.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3281, allocations: 29.06 kB / 403.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.101e-05/0.3282, allocations: 43.83 kB / 404 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.132e-05/0.3283, allocations: 39.78 kB / 404 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.3283, allocations: 8 kB / 404 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.924e-05/0.3283, allocations: 8 kB / 404 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.291e-05/0.3284, allocations: 31.89 kB / 404.1 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.3284, allocations: 51.62 kB / 404.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.3286, allocations: 111.6 kB / 404.2 MB, free: 6.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3286, allocations: 3.938 kB / 404.2 MB, free: 6.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3286, allocations: 0 / 404.2 MB, free: 6.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.3286, allocations: 0 / 404.2 MB, free: 6.039 MB / 318.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.0005996/0.3293, allocations: 432 kB / 404.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3293, allocations: 15.89 kB / 404.7 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.3294, allocations: 16.75 kB / 404.7 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.3296, allocations: 216 kB / 404.9 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.3297, allocations: 8.375 kB / 404.9 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.3297, allocations: 12.31 kB / 404.9 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.3302, allocations: 262 kB / 405.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3302, allocations: 3.938 kB / 405.2 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.3302, allocations: 4 kB / 405.2 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3302, allocations: 4 kB / 405.2 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.3304, allocations: 51.97 kB / 405.2 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.3307, allocations: 306.4 kB / 405.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.331, allocations: 139.8 kB / 405.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.3311, allocations: 70.66 kB / 405.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.3312, allocations: 4 kB / 405.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.3312, allocations: 38.5 kB / 405.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.3312, allocations: 0 / 405.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004048/0.3316, allocations: 169.9 kB / 405.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.3317, allocations: 126.7 kB / 406.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.3318, allocations: 154.7 kB / 406.2 MB, free: 3.809 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.3319, allocations: 29.7 kB / 406.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.3319, allocations: 92.08 kB / 406.3 MB, free: 3.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.3319, allocations: 15.89 kB / 406.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.332, allocations: 45.73 kB / 406.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3321, allocations: 327.1 kB / 406.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.501e-05/0.3322, allocations: 23.98 kB / 406.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.3323, allocations: 136 kB / 406.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.3326, allocations: 166.4 kB / 407 MB, free: 2.863 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3326, allocations: 3.938 kB / 407 MB, free: 2.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002784/0.3329, allocations: 181.2 kB / 407.2 MB, free: 2.676 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3329, allocations: 8 kB / 407.2 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3329, allocations: 7.984 kB / 407.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.3329, allocations: 4 kB / 407.2 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.333, allocations: 36.39 kB / 407.3 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.3331, allocations: 7.984 kB / 407.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.3332, allocations: 19.84 kB / 407.3 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.3332, allocations: 12 kB / 407.3 MB, free: 2.582 MB / 318.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.0001136/0.3333, allocations: 133.7 kB / 407.4 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.3335, allocations: 125.4 kB / 407.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.3335, allocations: 20.7 kB / 407.6 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3336, allocations: 0 / 407.6 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3336, allocations: 8 kB / 407.6 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3336, allocations: 3.938 kB / 407.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.3338, allocations: 197.6 kB / 407.8 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3338, allocations: 0 / 407.8 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.3339, allocations: 23.98 kB / 407.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3339, allocations: 0 / 407.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3339, allocations: 4 kB / 407.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3339, allocations: 0 / 407.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3339, allocations: 4 kB / 407.8 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.3342, allocations: 260.9 kB / 408.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.251e-05/0.3343, allocations: 104.8 kB / 408.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.3344, allocations: 4 kB / 408.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.3345, allocations: 11.98 kB / 408.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.3345, allocations: 3.938 kB / 408.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.3345, allocations: 4 kB / 408.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.808e-05/0.3346, allocations: 119.1 kB / 408.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3346, allocations: 0 / 408.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.3349, allocations: 24 kB / 408.3 MB, free: 1.441 MB / 318.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.0001244/0.335, allocations: 111.1 kB / 408.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.3352, allocations: 104.7 kB / 408.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3353, allocations: 96 / 408.6 MB, free: 1.223 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.3353, allocations: 20.05 kB / 408.6 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.3358, allocations: 79.94 kB / 408.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.3362, allocations: 291.4 kB / 408.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.3365, allocations: 0.7162 MB / 409.6 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.3366, allocations: 19.44 kB / 409.7 MB, free: 40 kB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3366, allocations: 0 / 409.7 MB, free: 40 kB / 318.1 MB Notification: Performance of Templates: time 0.00338/0.34, allocations: 1.481 MB / 411.1 MB, free: 14.56 MB / 334.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