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.001333/0.001332, allocations: 117.8 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.001326/0.001326, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.651/1.651, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 59.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4031, allocations: 50.54 MB / 409.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.004289/0.4075, allocations: 1.76 MB / 411 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.4088, allocations: 0.596 MB / 411.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.409, allocations: 7.938 kB / 411.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.241e-05/0.4091, allocations: 15.86 kB / 411.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.4093, allocations: 19.81 kB / 411.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.4098, allocations: 103.2 kB / 411.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.41, allocations: 95.75 kB / 411.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.4102, allocations: 25.44 kB / 411.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.4104, allocations: 55.78 kB / 411.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.4105, allocations: 47.7 kB / 412 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.4105, allocations: 8 kB / 412 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.556e-05/0.4106, allocations: 12 kB / 412 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.91e-05/0.4107, allocations: 23.92 kB / 412 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.679e-05/0.4108, allocations: 51.66 kB / 412.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.4111, allocations: 107.3 kB / 412.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4111, allocations: 7.938 kB / 412.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4111, allocations: 0 / 412.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.4111, allocations: 0 / 412.2 MB, free: 14.69 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.0008926/0.412, allocations: 430.8 kB / 412.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.755e-05/0.4121, allocations: 12.03 kB / 412.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002263/0.4123, allocations: 24.83 kB / 412.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.4128, allocations: 224 kB / 412.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/0.4129, allocations: 16.38 kB / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.4129, allocations: 8.375 kB / 412.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006449/0.4135, allocations: 273 kB / 413.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4136, allocations: 3.984 kB / 413.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.4136, allocations: 7.938 kB / 413.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4136, allocations: 4 kB / 413.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.4137, allocations: 51.91 kB / 413.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.4142, allocations: 306.5 kB / 413.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.4145, allocations: 135.9 kB / 413.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.4147, allocations: 70.61 kB / 413.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.4147, allocations: 8 kB / 413.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.4148, allocations: 34.56 kB / 413.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.273e-06/0.4148, allocations: 0 / 413.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000459/0.4152, allocations: 173.8 kB / 413.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.4154, allocations: 126.9 kB / 414 MB, free: 12.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.4156, allocations: 154.2 kB / 414.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.4156, allocations: 29.7 kB / 414.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.4157, allocations: 104 kB / 414.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.4157, allocations: 19.89 kB / 414.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.326e-05/0.4158, allocations: 33.72 kB / 414.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.416, allocations: 326.8 kB / 414.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.089e-05/0.416, allocations: 27.97 kB / 414.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.4162, allocations: 133.6 kB / 414.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.4165, allocations: 174.3 kB / 415 MB, free: 11.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4165, allocations: 0 / 415 MB, free: 11.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003338/0.4169, allocations: 181.6 kB / 415.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.4169, allocations: 8 kB / 415.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4169, allocations: 4 kB / 415.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.4169, allocations: 4 kB / 415.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.4171, allocations: 35.92 kB / 415.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.4171, allocations: 7.984 kB / 415.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.741e-05/0.4172, allocations: 15.89 kB / 415.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.4172, allocations: 12 kB / 415.3 MB, free: 11.19 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.0001425/0.4174, allocations: 142.6 kB / 415.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.4176, allocations: 113.6 kB / 415.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.4177, allocations: 20.7 kB / 415.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4177, allocations: 4 kB / 415.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.4177, allocations: 0 / 415.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.4177, allocations: 3.938 kB / 415.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.418, allocations: 201.6 kB / 415.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.418, allocations: 3.938 kB / 415.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.4181, allocations: 27.92 kB / 415.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.4181, allocations: 0 / 415.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.4181, allocations: 8 kB / 415.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.4181, allocations: 4 kB / 415.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4181, allocations: 4 kB / 415.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.4185, allocations: 264.6 kB / 416.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.991e-05/0.4186, allocations: 104.9 kB / 416.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.4186, allocations: 8.094 kB / 416.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.4187, allocations: 15.91 kB / 416.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.4188, allocations: 7.938 kB / 416.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.4188, allocations: 4 kB / 416.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.4189, allocations: 119.2 kB / 416.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.419, allocations: 0 / 416.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00032/0.4193, allocations: 20 kB / 416.3 MB, free: 10.03 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.0002706/0.4196, allocations: 111.2 kB / 416.4 MB, free: 9.914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003266/0.4199, allocations: 115.7 kB / 416.6 MB, free: 9.801 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4199, allocations: 0 / 416.6 MB, free: 9.801 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.317e-05/0.42, allocations: 11.98 kB / 416.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.4205, allocations: 83.44 kB / 416.7 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007032/0.4212, allocations: 261.6 kB / 416.9 MB, free: 9.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/0.4218, allocations: 0.724 MB / 417.6 MB, free: 8.672 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.286e-05/0.4218, allocations: 13.36 kB / 417.6 MB, free: 8.656 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.4219, allocations: 23.44 kB / 417.7 MB, free: 8.637 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4219, allocations: 0 / 417.7 MB, free: 8.637 MB / 334.1 MB Notification: Performance of Templates: time 0.005628/0.4275, allocations: 1.213 MB / 418.9 MB, free: 7.43 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