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.001353/0.001353, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.314/1.314, allocations: 221.3 MB / 235.5 MB, free: 2.887 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008337/0.000834, allocations: 88.05 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.344e-05/3.35e-05, allocations: 4 kB / 343.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 50.41 MB / 394.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2786/0.3994, allocations: 77.52 MB / 471.8 MB, free: 10.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.3996, allocations: 79.95 kB / 471.8 MB, free: 9.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01204/0.4117, allocations: 4.455 MB / 476.3 MB, free: 5.508 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.4117, allocations: 0 / 476.3 MB, free: 5.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.4117, allocations: 4 kB / 476.3 MB, free: 5.504 MB / 346.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.0003873/0.4121, allocations: 390.8 kB / 476.7 MB, free: 5.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.4122, allocations: 12.03 kB / 476.7 MB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.4122, allocations: 19.77 kB / 476.7 MB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.4125, allocations: 211.6 kB / 476.9 MB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.4125, allocations: 8 kB / 476.9 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.4125, allocations: 12 kB / 476.9 MB, free: 4.781 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.4129, allocations: 260.8 kB / 477.2 MB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.413, allocations: 0 / 477.2 MB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.413, allocations: 3.953 kB / 477.2 MB, free: 4.504 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.413, allocations: 0 / 477.2 MB, free: 4.504 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.035e-05/0.4131, allocations: 40.72 kB / 477.2 MB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.4135, allocations: 318.5 kB / 477.6 MB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.4137, allocations: 123.8 kB / 477.7 MB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.4138, allocations: 70.66 kB / 477.7 MB, free: 3.871 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.4138, allocations: 8 kB / 477.8 MB, free: 3.863 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.4138, allocations: 42.52 kB / 477.8 MB, free: 3.812 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.4138, allocations: 0 / 477.8 MB, free: 3.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.000259/0.4141, allocations: 125.3 kB / 477.9 MB, free: 3.684 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.4142, allocations: 118.9 kB / 478 MB, free: 3.543 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.4143, allocations: 136.5 kB / 478.2 MB, free: 3.406 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.4144, allocations: 25.7 kB / 478.2 MB, free: 3.375 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.4144, allocations: 96.33 kB / 478.3 MB, free: 3.277 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.4145, allocations: 23.81 kB / 478.3 MB, free: 3.254 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.4145, allocations: 4 kB / 478.3 MB, free: 3.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.4146, allocations: 322.8 kB / 478.6 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.184e-05/0.4146, allocations: 20.38 kB / 478.6 MB, free: 2.902 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.4148, allocations: 139.4 kB / 478.8 MB, free: 2.719 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.678e-05/0.4148, allocations: 39.92 kB / 478.8 MB, free: 2.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.4148, allocations: 8 kB / 478.8 MB, free: 2.672 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002265/0.4151, allocations: 157.2 kB / 479 MB, free: 2.512 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4151, allocations: 4.531 kB / 479 MB, free: 2.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4151, allocations: 11.94 kB / 479 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4151, allocations: 12 kB / 479 MB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.4153, allocations: 39.89 kB / 479 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.4153, allocations: 11.94 kB / 479.1 MB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.648e-05/0.4154, allocations: 11.84 kB / 479.1 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.4154, allocations: 16 kB / 479.1 MB, free: 2.406 MB / 346.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 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.922e-05/0.4155, allocations: 117.9 kB / 479.2 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.4157, allocations: 113.5 kB / 479.3 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.4157, allocations: 20.62 kB / 479.3 MB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.4157, allocations: 7.938 kB / 479.3 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4157, allocations: 0 / 479.3 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4157, allocations: 4 kB / 479.3 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.4159, allocations: 197.5 kB / 479.5 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4159, allocations: 4 kB / 479.5 MB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.4161, allocations: 23.98 kB / 479.6 MB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.4161, allocations: 7.938 kB / 479.6 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.4161, allocations: 4 kB / 479.6 MB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4161, allocations: 0 / 479.6 MB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.4161, allocations: 11.95 kB / 479.6 MB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.4163, allocations: 258.2 kB / 479.8 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.619e-05/0.4164, allocations: 108.8 kB / 479.9 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.4165, allocations: 4 kB / 480 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/0.4165, allocations: 11.98 kB / 480 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.4166, allocations: 8 kB / 480 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.4166, allocations: 4 kB / 480 MB, free: 1.406 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.592e-05/0.4167, allocations: 111.2 kB / 480.1 MB, free: 1.297 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4167, allocations: 0 / 480.1 MB, free: 1.297 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002475/0.4169, allocations: 24 kB / 480.1 MB, free: 1.273 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001004/0.417, allocations: 103.2 kB / 480.2 MB, free: 1.164 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.4172, allocations: 95.81 kB / 480.3 MB, free: 1.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4172, allocations: 0 / 480.3 MB, free: 1.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.264e-05/0.4172, allocations: 0 / 480.3 MB, free: 1.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.4176, allocations: 74.3 kB / 480.4 MB, free: 1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.4179, allocations: 181.8 kB / 480.6 MB, free: 0.793 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.4182, allocations: 0.7322 MB / 481.3 MB, free: 36 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.843e-05/0.4182, allocations: 5.219 kB / 481.3 MB, free: 32 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.4183, allocations: 19.42 kB / 481.3 MB, free: 12 kB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4183, allocations: 0 / 481.3 MB, free: 12 kB / 346.7 MB Notification: Performance of Templates: time 0.003007/0.4213, allocations: 1.059 MB / 482.4 MB, free: 14.96 MB / 362.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/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