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.002127/0.002127, allocations: 107 kB / 17.06 MB, free: 5.793 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.002002/0.002002, allocations: 200 kB / 18.01 MB, free: 4.918 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.387/1.387, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 39.94 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3612, allocations: 49.44 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003185/0.3644, allocations: 1.741 MB / 402.5 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.3655, allocations: 0.5336 MB / 403 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.3656, allocations: 3.938 kB / 403 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.643e-05/0.3657, allocations: 11.88 kB / 403 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.3659, allocations: 23.78 kB / 403 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.3663, allocations: 87.78 kB / 403.1 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.3664, allocations: 91.75 kB / 403.2 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.3666, allocations: 29.11 kB / 403.2 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.204e-05/0.3666, allocations: 47.78 kB / 403.3 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.769e-05/0.3667, allocations: 39.78 kB / 403.3 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.3668, allocations: 8 kB / 403.3 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.857e-05/0.3668, allocations: 11.94 kB / 403.4 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.3669, allocations: 27.91 kB / 403.4 MB, free: 6.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.575e-05/0.3669, allocations: 59.59 kB / 403.4 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.3671, allocations: 103.3 kB / 403.5 MB, free: 6.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3671, allocations: 0 / 403.5 MB, free: 6.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3671, allocations: 0 / 403.5 MB, free: 6.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3671, allocations: 0 / 403.5 MB, free: 6.07 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.0006078/0.3678, allocations: 438.8 kB / 404 MB, free: 5.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3678, allocations: 11.89 kB / 404 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.3679, allocations: 16.84 kB / 404 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.3682, allocations: 220.1 kB / 404.2 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.3682, allocations: 8.375 kB / 404.2 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.3682, allocations: 12.38 kB / 404.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005126/0.3688, allocations: 263.6 kB / 404.5 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3688, allocations: 3.938 kB / 404.5 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3688, allocations: 4 kB / 404.5 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3688, allocations: 8 kB / 404.5 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.3689, allocations: 43.97 kB / 404.5 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.3693, allocations: 314.4 kB / 404.9 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.3696, allocations: 135.9 kB / 405 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.3697, allocations: 74.64 kB / 405.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.3697, allocations: 0 / 405.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.3698, allocations: 46.48 kB / 405.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.102e-06/0.3698, allocations: 4 kB / 405.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003945/0.3702, allocations: 165.7 kB / 405.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/0.3703, allocations: 118.9 kB / 405.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.3704, allocations: 149.1 kB / 405.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.3704, allocations: 34.08 kB / 405.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.3705, allocations: 92.12 kB / 405.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.3705, allocations: 19.89 kB / 405.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.3706, allocations: 41.83 kB / 405.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3707, allocations: 330.7 kB / 406 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-05/0.3708, allocations: 23.98 kB / 406.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.3709, allocations: 136 kB / 406.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.3711, allocations: 166.4 kB / 406.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3711, allocations: 0 / 406.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002753/0.3714, allocations: 185.2 kB / 406.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3714, allocations: 4 kB / 406.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3714, allocations: 8.062 kB / 406.6 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.3715, allocations: 8 kB / 406.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3716, allocations: 32.39 kB / 406.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.3716, allocations: 15.98 kB / 406.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.136e-05/0.3717, allocations: 19.83 kB / 406.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.3717, allocations: 8 kB / 406.6 MB, free: 2.598 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.0001075/0.3718, allocations: 140.9 kB / 406.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.372, allocations: 117.6 kB / 406.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/0.3721, allocations: 16.72 kB / 406.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3721, allocations: 3.938 kB / 406.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3721, allocations: 0 / 406.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3721, allocations: 7.938 kB / 406.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.3723, allocations: 205.5 kB / 407.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3723, allocations: 0 / 407.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.3724, allocations: 27.98 kB / 407.1 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3725, allocations: 0 / 407.1 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3725, allocations: 4 kB / 407.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3725, allocations: 0 / 407.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.3725, allocations: 3.984 kB / 407.1 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.3728, allocations: 256.9 kB / 407.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.047e-05/0.3729, allocations: 101 kB / 407.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.3729, allocations: 11.98 kB / 407.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.438e-05/0.373, allocations: 8 kB / 407.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.373, allocations: 3.938 kB / 407.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.3731, allocations: 4 kB / 407.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.3732, allocations: 119.1 kB / 407.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3732, allocations: 4 kB / 407.6 MB, free: 1.477 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.3734, allocations: 20.09 kB / 407.7 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.0001089/0.3736, allocations: 115 kB / 407.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.3738, allocations: 104.6 kB / 407.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3738, allocations: 0 / 407.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.689e-05/0.3739, allocations: 16.19 kB / 407.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.3743, allocations: 81.86 kB / 408 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.3748, allocations: 277.5 kB / 408.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.375, allocations: 0.7241 MB / 409 MB, free: 92 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.146e-05/0.3751, allocations: 13.42 kB / 409 MB, free: 76 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.3751, allocations: 15.44 kB / 409 MB, free: 64 kB / 318.1 MB Notification: Performance of SimCode: time 1.854e-06/0.3751, allocations: 0 / 409 MB, free: 64 kB / 318.1 MB Notification: Performance of Templates: time 0.003787/0.3789, allocations: 1.223 MB / 410.2 MB, free: 14.85 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins/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