Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001244/0.001244, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.12 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.365, allocations: 50.54 MB / 409.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003821/0.3689, allocations: 1.765 MB / 411 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.3702, allocations: 0.5999 MB / 411.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.473e-05/0.3703, allocations: 0 / 411.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.356e-05/0.3704, allocations: 11.81 kB / 411.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.3705, allocations: 19.86 kB / 411.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.371, allocations: 99.69 kB / 411.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.3712, allocations: 91.75 kB / 411.8 MB, free: 15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3713, allocations: 25.44 kB / 411.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.3714, allocations: 63.72 kB / 411.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.463e-05/0.3715, allocations: 35.78 kB / 412 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.3715, allocations: 8 kB / 412 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.386e-05/0.3716, allocations: 19.98 kB / 412 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.3717, allocations: 19.92 kB / 412 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.457e-05/0.3717, allocations: 55.66 kB / 412.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.3719, allocations: 107.5 kB / 412.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3719, allocations: 0 / 412.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3719, allocations: 0 / 412.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.3719, allocations: 0 / 412.2 MB, free: 14.67 MB / 334.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.0005703/0.3725, allocations: 443.9 kB / 412.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.3726, allocations: 8.031 kB / 412.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.3727, allocations: 28.73 kB / 412.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.373, allocations: 216 kB / 412.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.3731, allocations: 12.31 kB / 412.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.3731, allocations: 16.38 kB / 412.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005001/0.3736, allocations: 268.9 kB / 413.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3736, allocations: 7.938 kB / 413.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3737, allocations: 4 kB / 413.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3737, allocations: 3.984 kB / 413.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.3738, allocations: 47.97 kB / 413.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.3743, allocations: 310.4 kB / 413.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.3745, allocations: 140 kB / 413.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.3747, allocations: 70.55 kB / 413.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.3747, allocations: 4 kB / 413.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.3748, allocations: 42.5 kB / 413.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.3748, allocations: 0 / 413.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004216/0.3752, allocations: 169.5 kB / 413.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/0.3753, allocations: 115.1 kB / 414 MB, free: 12.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.3754, allocations: 158.3 kB / 414.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3755, allocations: 33.7 kB / 414.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.3755, allocations: 96.08 kB / 414.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.3756, allocations: 19.8 kB / 414.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/0.3756, allocations: 33.72 kB / 414.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3758, allocations: 326.8 kB / 414.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.3759, allocations: 31.97 kB / 414.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.376, allocations: 135.7 kB / 414.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.3762, allocations: 170.8 kB / 415 MB, free: 11.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3762, allocations: 0 / 415 MB, free: 11.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002799/0.3765, allocations: 181.6 kB / 415.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3765, allocations: 12 kB / 415.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3766, allocations: 7.938 kB / 415.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3766, allocations: 4 kB / 415.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.3767, allocations: 27.92 kB / 415.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.3767, allocations: 15.97 kB / 415.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.795e-05/0.3768, allocations: 11.94 kB / 415.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.3768, allocations: 15.94 kB / 415.3 MB, free: 11.17 MB / 334.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.0001239/0.377, allocations: 134.5 kB / 415.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.3771, allocations: 125.4 kB / 415.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.611e-05/0.3772, allocations: 20.7 kB / 415.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3772, allocations: 3.938 kB / 415.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3772, allocations: 4 kB / 415.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3772, allocations: 3.938 kB / 415.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.3774, allocations: 197.5 kB / 415.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3775, allocations: 0 / 415.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.3776, allocations: 23.98 kB / 415.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3776, allocations: 4 kB / 415.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3776, allocations: 4 kB / 415.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3776, allocations: 4 kB / 415.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3776, allocations: 4 kB / 415.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.3779, allocations: 260.9 kB / 416.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.96e-05/0.378, allocations: 104.8 kB / 416.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.378, allocations: 4 kB / 416.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.283e-05/0.3781, allocations: 15.98 kB / 416.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.3782, allocations: 3.938 kB / 416.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.3782, allocations: 8 kB / 416.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.421e-05/0.3783, allocations: 119.2 kB / 416.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3783, allocations: 0 / 416.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.3786, allocations: 20 kB / 416.3 MB, free: 10.02 MB / 334.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.000145/0.3787, allocations: 111.2 kB / 416.4 MB, free: 9.902 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.379, allocations: 111.8 kB / 416.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.379, allocations: 0 / 416.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.579e-05/0.379, allocations: 7.984 kB / 416.5 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.3795, allocations: 92.72 kB / 416.6 MB, free: 9.699 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005756/0.3801, allocations: 262.9 kB / 416.9 MB, free: 9.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.3805, allocations: 0.7202 MB / 417.6 MB, free: 8.664 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.556e-05/0.3805, allocations: 9.422 kB / 417.6 MB, free: 8.652 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.3806, allocations: 19.44 kB / 417.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3806, allocations: 4 kB / 417.6 MB, free: 8.633 MB / 334.1 MB Notification: Performance of Templates: time 0.004201/0.3848, allocations: 1.21 MB / 418.9 MB, free: 7.426 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches