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.0007913/0.0007911, allocations: 97.05 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008728/0.000873, allocations: 202.6 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.7 MB / 247.5 MB, free: 11.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002545/0.0002546, allocations: 8.281 kB / 308.4 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1108, allocations: 51.52 MB / 359.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002025/0.1129, allocations: 1.336 MB / 361.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.1142, allocations: 0.6078 MB / 361.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.1143, allocations: 4 kB / 361.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.093e-05/0.1144, allocations: 3.938 kB / 361.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.1147, allocations: 27.84 kB / 361.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.115, allocations: 71.86 kB / 362 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.1152, allocations: 67.78 kB / 362 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1153, allocations: 19.98 kB / 362 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.1154, allocations: 39.89 kB / 362.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.588e-05/0.1155, allocations: 39.72 kB / 362.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.1156, allocations: 4 kB / 362.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.68e-05/0.1156, allocations: 7.938 kB / 362.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.381e-05/0.1157, allocations: 19.92 kB / 362.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.215e-05/0.1158, allocations: 61.44 kB / 362.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.1159, allocations: 55.88 kB / 362.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1159, allocations: 0 / 362.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1159, allocations: 0 / 362.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1159, allocations: 4 kB / 362.3 MB, free: 10.9 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.0005627/0.1165, allocations: 387.4 kB / 362.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1165, allocations: 12.03 kB / 362.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.1167, allocations: 24.73 kB / 362.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.117, allocations: 212.6 kB / 362.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.117, allocations: 384 / 362.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.117, allocations: 20.12 kB / 362.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.1175, allocations: 216.5 kB / 363.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1175, allocations: 4 kB / 363.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.1176, allocations: 4 kB / 363.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1176, allocations: 4 kB / 363.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.1178, allocations: 55.89 kB / 363.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.1181, allocations: 294.5 kB / 363.5 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.1183, allocations: 99.89 kB / 363.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.1185, allocations: 54.61 kB / 363.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.1185, allocations: 8 kB / 363.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.1186, allocations: 38.5 kB / 363.7 MB, free: 9.293 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1186, allocations: 0 / 363.7 MB, free: 9.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004462/0.119, allocations: 153.9 kB / 363.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.888e-05/0.1191, allocations: 115 kB / 363.9 MB, free: 9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.1193, allocations: 149.7 kB / 364.1 MB, free: 8.844 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1193, allocations: 25.7 kB / 364.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.1193, allocations: 104 kB / 364.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.1194, allocations: 3.906 kB / 364.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.1194, allocations: 21.7 kB / 364.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1195, allocations: 330.7 kB / 364.6 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.387e-05/0.1196, allocations: 27.98 kB / 364.6 MB, free: 8.316 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.536e-05/0.1197, allocations: 88.94 kB / 364.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.1199, allocations: 121.3 kB / 364.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1199, allocations: 0 / 364.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002459/0.1201, allocations: 141.3 kB / 364.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.1202, allocations: 10.81 kB / 364.9 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1202, allocations: 0 / 364.9 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1202, allocations: 4 kB / 364.9 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1203, allocations: 27.92 kB / 365 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.1203, allocations: 4 kB / 365 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.263e-05/0.1204, allocations: 20.2 kB / 365 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.1204, allocations: 12 kB / 365 MB, free: 7.828 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.0001073/0.1206, allocations: 125.7 kB / 365.1 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.1208, allocations: 101.5 kB / 365.2 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.1208, allocations: 16.3 kB / 365.2 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1208, allocations: 0 / 365.2 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1208, allocations: 0 / 365.2 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.1209, allocations: 7.938 kB / 365.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.121, allocations: 185.6 kB / 365.4 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1211, allocations: 3.938 kB / 365.4 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.1212, allocations: 27.98 kB / 365.5 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1212, allocations: 0 / 365.5 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1212, allocations: 4 kB / 365.5 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/0.1212, allocations: 4 kB / 365.5 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1212, allocations: 3.938 kB / 365.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.1215, allocations: 237 kB / 365.7 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.1216, allocations: 92.91 kB / 365.8 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.1216, allocations: 11.98 kB / 365.8 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.291e-05/0.1217, allocations: 4.125 kB / 365.8 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.1218, allocations: 3.984 kB / 365.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.1218, allocations: 15.94 kB / 365.8 MB, free: 6.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.456e-05/0.1219, allocations: 114.2 kB / 366 MB, free: 6.781 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1219, allocations: 0 / 366 MB, free: 6.781 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1222, allocations: 20 kB / 366 MB, free: 6.762 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.0001146/0.1223, allocations: 103.2 kB / 366.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.1225, allocations: 87.78 kB / 366.2 MB, free: 6.566 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1225, allocations: 0.6875 kB / 366.2 MB, free: 6.566 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.106e-05/0.1226, allocations: 15.98 kB / 366.2 MB, free: 6.551 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.123, allocations: 55.95 kB / 366.2 MB, free: 6.496 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006753/0.1237, allocations: 328.9 kB / 366.5 MB, free: 6.129 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.124, allocations: 0.7121 MB / 367.3 MB, free: 5.391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.1241, allocations: 11.44 kB / 367.3 MB, free: 5.379 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1241, allocations: 0 / 367.3 MB, free: 5.379 MB / 302.1 MB Notification: Performance of Templates: time 0.003124/0.1272, allocations: 1.179 MB / 368.5 MB, free: 4.203 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 -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