Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 109.1 kB / 17.06 MB, free: 6.023 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.001539/0.001539, allocations: 191 kB / 18 MB, free: 5.105 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.467/1.467, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 43.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3973, allocations: 49.44 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003022/0.4004, allocations: 1.612 MB / 402.3 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.4015, allocations: 0.557 MB / 402.9 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.4017, allocations: 4 kB / 402.9 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.371e-05/0.4018, allocations: 11.81 kB / 402.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.4021, allocations: 23.84 kB / 402.9 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.4024, allocations: 71.73 kB / 403 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.4026, allocations: 75.77 kB / 403.1 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.4027, allocations: 20.22 kB / 403.1 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.4028, allocations: 43.78 kB / 403.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.022e-05/0.4029, allocations: 31.84 kB / 403.2 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/0.403, allocations: 4 kB / 403.2 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.045e-05/0.403, allocations: 8 kB / 403.2 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.423e-05/0.4031, allocations: 19.92 kB / 403.2 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.546e-05/0.4031, allocations: 39.73 kB / 403.2 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.4033, allocations: 83.64 kB / 403.3 MB, free: 6.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4033, allocations: 0 / 403.3 MB, free: 6.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.4034, allocations: 4 kB / 403.3 MB, free: 6.273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.4034, allocations: 0 / 403.3 MB, free: 6.273 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006984/0.4041, allocations: 408.2 kB / 403.7 MB, free: 5.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.4041, allocations: 11.89 kB / 403.7 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.4042, allocations: 8.844 kB / 403.7 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.4045, allocations: 208 kB / 404 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.4045, allocations: 8.375 kB / 404 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.4046, allocations: 8.375 kB / 404 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.405, allocations: 226 kB / 404.2 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4051, allocations: 7.922 kB / 404.2 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.4051, allocations: 4 kB / 404.2 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4051, allocations: 0 / 404.2 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.4053, allocations: 55.89 kB / 404.3 MB, free: 5.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.4057, allocations: 294.4 kB / 404.5 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.406, allocations: 99.94 kB / 404.6 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.4061, allocations: 50.56 kB / 404.7 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.4061, allocations: 8 kB / 404.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.4062, allocations: 34.56 kB / 404.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.4062, allocations: 0 / 404.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004412/0.4066, allocations: 145.5 kB / 404.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.613e-05/0.4067, allocations: 118.8 kB / 405 MB, free: 4.379 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.4068, allocations: 144.5 kB / 405.1 MB, free: 4.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.4069, allocations: 25.83 kB / 405.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.4069, allocations: 100 kB / 405.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.407, allocations: 15.88 kB / 405.3 MB, free: 4.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.407, allocations: 25.72 kB / 405.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.4071, allocations: 318.8 kB / 405.6 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.855e-05/0.4072, allocations: 19.98 kB / 405.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.211e-05/0.4073, allocations: 93.38 kB / 405.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.4075, allocations: 125.2 kB / 405.8 MB, free: 3.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4075, allocations: 0 / 405.8 MB, free: 3.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002101/0.4077, allocations: 133.4 kB / 406 MB, free: 3.293 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4077, allocations: 8 kB / 406 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4077, allocations: 0 / 406 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.4078, allocations: 4 kB / 406 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.4079, allocations: 27.92 kB / 406 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.4079, allocations: 8.344 kB / 406 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.799e-05/0.408, allocations: 15.78 kB / 406 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.408, allocations: 8 kB / 406 MB, free: 3.223 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.superSampleIpo.first,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000193/0.4082, allocations: 136 kB / 406.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.4084, allocations: 98.08 kB / 406.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.814e-05/0.4084, allocations: 12.31 kB / 406.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4084, allocations: 0 / 406.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4084, allocations: 4.062 kB / 406.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4085, allocations: 7.984 kB / 406.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.4087, allocations: 185.6 kB / 406.5 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4087, allocations: 0 / 406.5 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.4088, allocations: 19.98 kB / 406.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.4088, allocations: 4 kB / 406.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.4089, allocations: 7.984 kB / 406.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.4089, allocations: 3.984 kB / 406.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4089, allocations: 4 kB / 406.5 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.4092, allocations: 228.9 kB / 406.7 MB, free: 2.438 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/0.4093, allocations: 104.9 kB / 406.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.4093, allocations: 4 kB / 406.8 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.982e-05/0.4094, allocations: 4 kB / 406.8 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.4094, allocations: 7.984 kB / 406.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.4094, allocations: 8 kB / 406.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.233e-05/0.4095, allocations: 107.2 kB / 407 MB, free: 2.188 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4095, allocations: 0 / 407 MB, free: 2.188 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.4098, allocations: 16 kB / 407 MB, free: 2.172 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001279/0.4099, allocations: 115.1 kB / 407.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.4102, allocations: 79.83 kB / 407.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4102, allocations: 0 / 407.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.524e-05/0.4102, allocations: 8.688 kB / 407.2 MB, free: 1.965 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.4107, allocations: 73.19 kB / 407.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006738/0.4114, allocations: 249.3 kB / 407.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.4117, allocations: 0.7085 MB / 408.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.859e-05/0.4118, allocations: 8.562 kB / 408.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.4118, allocations: 19.42 kB / 408.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4118, allocations: 0 / 408.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of Templates: time 0.003712/0.4156, allocations: 0.9569 MB / 409.2 MB, free: 15.91 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches