Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 114.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 247.5 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 59.44 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1136, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002799/0.1165, allocations: 1.618 MB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1175, allocations: 0.6271 MB / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.99e-05/0.1176, allocations: 3.938 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.525e-05/0.1177, allocations: 3.938 kB / 361.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.1179, allocations: 35.78 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.1182, allocations: 83.78 kB / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.1184, allocations: 75.78 kB / 361.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.798e-05/0.1185, allocations: 23.95 kB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1186, allocations: 43.84 kB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.1187, allocations: 35.78 kB / 361.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1187, allocations: 4 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.281e-05/0.1188, allocations: 8 kB / 361.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.1188, allocations: 27.91 kB / 361.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.1189, allocations: 43.73 kB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.119, allocations: 79.7 kB / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.119, allocations: 0 / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.119, allocations: 0 / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.119, allocations: 0 / 361.6 MB, free: 10.64 MB / 302.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.0005473/0.1196, allocations: 414.9 kB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1196, allocations: 8.031 kB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.1198, allocations: 24.73 kB / 362 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.1201, allocations: 220.2 kB / 362.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1201, allocations: 4.375 kB / 362.3 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.1201, allocations: 12.12 kB / 362.3 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004527/0.1206, allocations: 217.7 kB / 362.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1206, allocations: 0 / 362.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1206, allocations: 4 kB / 362.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1206, allocations: 4 kB / 362.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.1208, allocations: 39.97 kB / 362.5 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.1212, allocations: 302.4 kB / 362.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1214, allocations: 99.88 kB / 362.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.1215, allocations: 54.62 kB / 363 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.1215, allocations: 7.938 kB / 363 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.1215, allocations: 34.56 kB / 363 MB, free: 9.016 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1216, allocations: 0 / 363 MB, free: 9.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.000412/0.122, allocations: 149.4 kB / 363.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.1221, allocations: 114.9 kB / 363.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1222, allocations: 145.8 kB / 363.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1222, allocations: 25.7 kB / 363.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.1223, allocations: 96.08 kB / 363.5 MB, free: 8.445 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.1223, allocations: 19.78 kB / 363.6 MB, free: 8.426 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.1223, allocations: 33.72 kB / 363.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1225, allocations: 322.8 kB / 363.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.963e-05/0.1225, allocations: 23.98 kB / 363.9 MB, free: 8.039 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.112e-05/0.1226, allocations: 89.36 kB / 364 MB, free: 7.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.1228, allocations: 117.3 kB / 364.1 MB, free: 7.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1228, allocations: 4 kB / 364.1 MB, free: 7.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002279/0.123, allocations: 133.3 kB / 364.3 MB, free: 7.629 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.123, allocations: 4.344 kB / 364.3 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.123, allocations: 8 kB / 364.3 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1231, allocations: 4 kB / 364.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1232, allocations: 24.48 kB / 364.3 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1232, allocations: 3.938 kB / 364.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.727e-05/0.1233, allocations: 15.84 kB / 364.3 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1233, allocations: 8 kB / 364.3 MB, free: 7.562 MB / 302.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.0001089/0.1234, allocations: 137.7 kB / 364.5 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.1236, allocations: 101.5 kB / 364.6 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.8e-05/0.1237, allocations: 24.3 kB / 364.6 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1237, allocations: 0 / 364.6 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.1237, allocations: 0 / 364.6 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1237, allocations: 11.88 kB / 364.6 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.1239, allocations: 177.6 kB / 364.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1239, allocations: 3.984 kB / 364.8 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.124, allocations: 31.86 kB / 364.8 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.124, allocations: 4 kB / 364.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1241, allocations: 0 / 364.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1241, allocations: 0 / 364.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1241, allocations: 0 / 364.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.1244, allocations: 233 kB / 365 MB, free: 6.766 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.099e-05/0.1244, allocations: 97 kB / 365.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.1245, allocations: 0 / 365.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.368e-05/0.1246, allocations: 7.984 kB / 365.1 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.1246, allocations: 11.94 kB / 365.2 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.1246, allocations: 7.938 kB / 365.2 MB, free: 6.625 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.212e-05/0.1247, allocations: 114.2 kB / 365.3 MB, free: 6.516 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1247, allocations: 3.938 kB / 365.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.125, allocations: 16 kB / 365.3 MB, free: 6.496 MB / 302.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.000109/0.1251, allocations: 99.25 kB / 365.4 MB, free: 6.391 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.1253, allocations: 84.45 kB / 365.5 MB, free: 6.309 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1253, allocations: 0 / 365.5 MB, free: 6.309 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.53e-05/0.1254, allocations: 8 kB / 365.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.1258, allocations: 64.44 kB / 365.5 MB, free: 6.238 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005785/0.1264, allocations: 248.5 kB / 365.8 MB, free: 5.965 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.1267, allocations: 0.7159 MB / 366.5 MB, free: 5.223 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.943e-05/0.1267, allocations: 12.55 kB / 366.5 MB, free: 5.211 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.1268, allocations: 11.44 kB / 366.5 MB, free: 5.199 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1268, allocations: 0 / 366.5 MB, free: 5.199 MB / 302.1 MB Notification: Performance of Templates: time 0.003353/0.1301, allocations: 0.9544 MB / 367.5 MB, free: 4.258 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches