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.001295/0.001295, allocations: 110.9 kB / 17.74 MB, free: 5.352 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.001258/0.001258, allocations: 192.5 kB / 18.67 MB, free: 4.426 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.443/1.443, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 51.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3101, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003165/0.3133, allocations: 1.745 MB / 403.2 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009631/0.3143, allocations: 0.5336 MB / 403.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.724e-05/0.3144, allocations: 7.938 kB / 403.7 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.807e-05/0.3145, allocations: 11.86 kB / 403.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.3147, allocations: 11.86 kB / 403.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.3151, allocations: 99.66 kB / 403.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.3152, allocations: 91.75 kB / 403.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.3154, allocations: 29.11 kB / 403.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.971e-05/0.3155, allocations: 43.77 kB / 404 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.059e-05/0.3156, allocations: 43.78 kB / 404 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.3156, allocations: 8 kB / 404 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.887e-05/0.3156, allocations: 8 kB / 404 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.3157, allocations: 23.86 kB / 404.1 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.131e-05/0.3158, allocations: 55.66 kB / 404.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.3159, allocations: 99.59 kB / 404.2 MB, free: 6.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3159, allocations: 12 kB / 404.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3159, allocations: 0 / 404.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.316, allocations: 0 / 404.2 MB, free: 6.051 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.000557/0.3165, allocations: 428 kB / 404.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3166, allocations: 15.89 kB / 404.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.3166, allocations: 12.75 kB / 404.7 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.3169, allocations: 228 kB / 404.9 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.3169, allocations: 12.38 kB / 404.9 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.3169, allocations: 4.375 kB / 404.9 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.3174, allocations: 266 kB / 405.2 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3175, allocations: 0 / 405.2 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3175, allocations: 0 / 405.2 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3175, allocations: 7.984 kB / 405.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.3176, allocations: 51.91 kB / 405.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.318, allocations: 314.4 kB / 405.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.3182, allocations: 131.9 kB / 405.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.3183, allocations: 78.56 kB / 405.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.3184, allocations: 7.984 kB / 405.8 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.3184, allocations: 30.56 kB / 405.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.263e-06/0.3184, allocations: 0 / 405.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003956/0.3188, allocations: 169.4 kB / 405.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.848e-05/0.3189, allocations: 126.9 kB / 406.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.319, allocations: 150.7 kB / 406.2 MB, free: 3.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.3191, allocations: 29.7 kB / 406.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.3191, allocations: 100 kB / 406.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.3192, allocations: 11.91 kB / 406.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.3192, allocations: 41.61 kB / 406.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3194, allocations: 326.8 kB / 406.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.969e-05/0.3194, allocations: 31.98 kB / 406.7 MB, free: 3.266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.3196, allocations: 131.9 kB / 406.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.3198, allocations: 174.3 kB / 407 MB, free: 2.863 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3198, allocations: 3.938 kB / 407.1 MB, free: 2.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002632/0.3201, allocations: 181.4 kB / 407.2 MB, free: 2.676 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3201, allocations: 8 kB / 407.2 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3201, allocations: 4 kB / 407.2 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3201, allocations: 4 kB / 407.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.3202, allocations: 27.92 kB / 407.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.3203, allocations: 8 kB / 407.3 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.055e-05/0.3204, allocations: 19.84 kB / 407.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.3204, allocations: 12.3 kB / 407.3 MB, free: 2.594 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.0001048/0.3205, allocations: 137.7 kB / 407.4 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.3207, allocations: 121.8 kB / 407.6 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.3207, allocations: 16.72 kB / 407.6 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3207, allocations: 0 / 407.6 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3207, allocations: 4 kB / 407.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.3208, allocations: 8.016 kB / 407.6 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.321, allocations: 193.6 kB / 407.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.321, allocations: 0 / 407.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.3211, allocations: 27.92 kB / 407.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3211, allocations: 4 kB / 407.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.3211, allocations: 11.98 kB / 407.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3211, allocations: 0 / 407.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3211, allocations: 0 / 407.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.3214, allocations: 248.9 kB / 408.1 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.188e-05/0.3215, allocations: 112.8 kB / 408.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.3216, allocations: 8 kB / 408.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/0.3217, allocations: 4 kB / 408.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.3217, allocations: 3.938 kB / 408.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.3217, allocations: 11.98 kB / 408.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.497e-05/0.3218, allocations: 115.1 kB / 408.3 MB, free: 1.477 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3218, allocations: 0 / 408.3 MB, free: 1.477 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.3221, allocations: 20 kB / 408.3 MB, free: 1.457 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.0001176/0.3222, allocations: 119.1 kB / 408.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.3225, allocations: 107.8 kB / 408.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3225, allocations: 0 / 408.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.398e-05/0.3225, allocations: 5.062 kB / 408.6 MB, free: 1.223 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.323, allocations: 83.94 kB / 408.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.3235, allocations: 296.1 kB / 408.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.3238, allocations: 0.7239 MB / 409.7 MB, free: 64 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/0.3238, allocations: 19.42 kB / 409.7 MB, free: 44 kB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3238, allocations: 0 / 409.7 MB, free: 44 kB / 318.1 MB Notification: Performance of Templates: time 0.003096/0.3269, allocations: 1.462 MB / 411.1 MB, free: 14.59 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