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.001627/0.001627, allocations: 115.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.00186/0.001861, allocations: 199.5 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.508/1.508, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 56.16 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1249, allocations: 50.54 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003449/0.1284, allocations: 1.614 MB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.1298, allocations: 0.6271 MB / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.13, allocations: 0 / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.761e-05/0.1301, allocations: 11.86 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.1304, allocations: 35.8 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.1308, allocations: 79.72 kB / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.131, allocations: 83.75 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1311, allocations: 19.97 kB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.1313, allocations: 43.84 kB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.697e-05/0.1314, allocations: 39.77 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.1314, allocations: 4 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.979e-05/0.1315, allocations: 12 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.1316, allocations: 23.92 kB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.899e-05/0.1316, allocations: 31.75 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.1318, allocations: 91.67 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1318, allocations: 0 / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1318, allocations: 0 / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1319, allocations: 0 / 361.6 MB, free: 10.63 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.0007071/0.1326, allocations: 414.9 kB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1326, allocations: 8.031 kB / 362 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.1328, allocations: 24.75 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.1332, allocations: 216.1 kB / 362.3 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.1332, allocations: 4.375 kB / 362.3 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.1332, allocations: 12.12 kB / 362.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004885/0.1337, allocations: 216.8 kB / 362.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.1337, allocations: 0 / 362.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1337, allocations: 4 kB / 362.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1338, allocations: 0 / 362.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.1339, allocations: 51.89 kB / 362.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.1343, allocations: 298.5 kB / 362.8 MB, free: 9.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.1345, allocations: 95.89 kB / 362.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.1346, allocations: 66.61 kB / 363 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.1347, allocations: 3.938 kB / 363 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1347, allocations: 34.5 kB / 363 MB, free: 9.008 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1347, allocations: 0 / 363 MB, free: 9.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004503/0.1352, allocations: 149.5 kB / 363.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.043e-05/0.1353, allocations: 118.9 kB / 363.3 MB, free: 8.715 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.1354, allocations: 141.8 kB / 363.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1354, allocations: 25.7 kB / 363.4 MB, free: 8.535 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.1356, allocations: 96.06 kB / 363.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.1356, allocations: 15.81 kB / 363.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.1357, allocations: 33.7 kB / 363.6 MB, free: 8.383 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1358, allocations: 326.8 kB / 363.9 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.497e-05/0.1359, allocations: 23.98 kB / 363.9 MB, free: 8.031 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.523e-05/0.136, allocations: 84.69 kB / 364 MB, free: 7.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.1362, allocations: 121.2 kB / 364.1 MB, free: 7.766 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1362, allocations: 4 kB / 364.1 MB, free: 7.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002132/0.1364, allocations: 129.7 kB / 364.3 MB, free: 7.629 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1364, allocations: 8.062 kB / 364.3 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1364, allocations: 4 kB / 364.3 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1365, allocations: 7.984 kB / 364.3 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.1366, allocations: 19.94 kB / 364.3 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.1366, allocations: 7.984 kB / 364.3 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.1367, allocations: 15.84 kB / 364.3 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1367, allocations: 8 kB / 364.3 MB, free: 7.559 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.0001079/0.1368, allocations: 133.7 kB / 364.5 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.137, allocations: 105.5 kB / 364.6 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.118e-05/0.1371, allocations: 12.31 kB / 364.6 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1371, allocations: 4.625 kB / 364.6 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1371, allocations: 0 / 364.6 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1371, allocations: 7.875 kB / 364.6 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.1373, allocations: 193.5 kB / 364.8 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1373, allocations: 4 kB / 364.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.1375, allocations: 19.98 kB / 364.8 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1375, allocations: 0 / 364.8 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.1375, allocations: 7.984 kB / 364.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1375, allocations: 0 / 364.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1375, allocations: 7.984 kB / 364.8 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.1378, allocations: 228.9 kB / 365 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.481e-05/0.1379, allocations: 101 kB / 365.1 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.138, allocations: 0 / 365.1 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.983e-05/0.1381, allocations: 8 kB / 365.2 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.1381, allocations: 8 kB / 365.2 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.1381, allocations: 7.922 kB / 365.2 MB, free: 6.617 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.31e-05/0.1382, allocations: 110.3 kB / 365.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.385e-06/0.1382, allocations: 0 / 365.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000279/0.1385, allocations: 19.94 kB / 365.3 MB, free: 6.492 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.0002042/0.1387, allocations: 99.23 kB / 365.4 MB, free: 6.387 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.139, allocations: 84.09 kB / 365.5 MB, free: 6.305 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.139, allocations: 0 / 365.5 MB, free: 6.305 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.436e-05/0.1391, allocations: 15.92 kB / 365.5 MB, free: 6.289 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.1396, allocations: 60.59 kB / 365.5 MB, free: 6.234 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007021/0.1403, allocations: 253.5 kB / 365.8 MB, free: 5.953 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.1407, allocations: 0.7119 MB / 366.5 MB, free: 5.215 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.455e-05/0.1407, allocations: 4.562 kB / 366.5 MB, free: 5.211 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.1408, allocations: 11.44 kB / 366.5 MB, free: 5.199 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1408, allocations: 0 / 366.5 MB, free: 5.199 MB / 302.1 MB Notification: Performance of Templates: time 0.004033/0.1448, allocations: 0.9616 MB / 367.5 MB, free: 4.25 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 cvode -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