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.001928/0.001928, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002597/0.002597, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.696/1.696, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.52 kB / 307 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1155, allocations: 50.54 MB / 357.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003114/0.1186, allocations: 1.614 MB / 359.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1198, allocations: 0.631 MB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.738e-05/0.1199, allocations: 0 / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.377e-05/0.12, allocations: 7.875 kB / 359.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.1202, allocations: 31.78 kB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.1205, allocations: 83.78 kB / 359.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.1207, allocations: 75.78 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1208, allocations: 19.97 kB / 360 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.1209, allocations: 39.84 kB / 360 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.2e-05/0.121, allocations: 35.78 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.1211, allocations: 8 kB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.893e-05/0.1211, allocations: 11.98 kB / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.1212, allocations: 19.92 kB / 360.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.875e-05/0.1213, allocations: 43.73 kB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.1214, allocations: 79.7 kB / 360.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1214, allocations: 0 / 360.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1214, allocations: 0 / 360.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1215, allocations: 0 / 360.2 MB, free: 11.3 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.0006238/0.1221, allocations: 415.2 kB / 360.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.1221, allocations: 11.97 kB / 360.6 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.1223, allocations: 28.73 kB / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.1226, allocations: 212.2 kB / 360.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.1226, allocations: 384 / 360.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.1226, allocations: 16.12 kB / 360.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000475/0.1231, allocations: 215.1 kB / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1231, allocations: 4 kB / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.1231, allocations: 4 kB / 361.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1231, allocations: 4 kB / 361.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.1233, allocations: 51.89 kB / 361.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.1237, allocations: 294.5 kB / 361.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.1239, allocations: 99.89 kB / 361.6 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.124, allocations: 62.53 kB / 361.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.1241, allocations: 8 kB / 361.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1241, allocations: 30.56 kB / 361.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1241, allocations: 0 / 361.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004256/0.1245, allocations: 141.5 kB / 361.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.963e-05/0.1247, allocations: 118.7 kB / 361.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.1248, allocations: 145.9 kB / 362.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1248, allocations: 29.64 kB / 362.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/0.1249, allocations: 104 kB / 362.2 MB, free: 9.094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.1249, allocations: 15.81 kB / 362.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.125, allocations: 29.7 kB / 362.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1252, allocations: 326.8 kB / 362.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.776e-05/0.1252, allocations: 15.98 kB / 362.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.1253, allocations: 89.44 kB / 362.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.1255, allocations: 117.2 kB / 362.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1255, allocations: 4 kB / 362.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002264/0.1258, allocations: 129.4 kB / 362.9 MB, free: 8.293 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1258, allocations: 8 kB / 362.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1258, allocations: 0 / 362.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1258, allocations: 4.344 kB / 362.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.1259, allocations: 31.92 kB / 362.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.126, allocations: 7.984 kB / 362.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.126, allocations: 15.84 kB / 363 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.126, allocations: 4 kB / 363 MB, free: 8.223 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.0001224/0.1262, allocations: 129.8 kB / 363.1 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.1264, allocations: 98.12 kB / 363.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.845e-05/0.1264, allocations: 20.31 kB / 363.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1264, allocations: 0 / 363.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.1265, allocations: 4 kB / 363.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.1265, allocations: 7.938 kB / 363.2 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.1267, allocations: 189.5 kB / 363.4 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1267, allocations: 4 kB / 363.4 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1268, allocations: 19.98 kB / 363.4 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1268, allocations: 0 / 363.4 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1268, allocations: 0 / 363.4 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1268, allocations: 7.938 kB / 363.4 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1268, allocations: 3.984 kB / 363.4 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.1272, allocations: 232.9 kB / 363.7 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.763e-05/0.1273, allocations: 96.98 kB / 363.8 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.1273, allocations: 4 kB / 363.8 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.004e-05/0.1274, allocations: 8 kB / 363.8 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.1274, allocations: 0 / 363.8 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.1274, allocations: 11.92 kB / 363.8 MB, free: 7.293 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.872e-05/0.1275, allocations: 106.3 kB / 363.9 MB, free: 7.191 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1275, allocations: 8 kB / 363.9 MB, free: 7.184 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1278, allocations: 12 kB / 363.9 MB, free: 7.172 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.0001355/0.1279, allocations: 111 kB / 364 MB, free: 7.059 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002545/0.1282, allocations: 87.78 kB / 364.1 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1282, allocations: 0.6875 kB / 364.1 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.479e-05/0.1283, allocations: 15.98 kB / 364.1 MB, free: 6.957 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.1288, allocations: 59.94 kB / 364.2 MB, free: 6.898 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006475/0.1294, allocations: 253.2 kB / 364.4 MB, free: 6.621 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.1298, allocations: 0.7041 MB / 365.1 MB, free: 5.891 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.562e-05/0.1298, allocations: 4.562 kB / 365.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.1299, allocations: 15.44 kB / 365.1 MB, free: 5.871 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1299, allocations: 0 / 365.1 MB, free: 5.871 MB / 302.1 MB Notification: Performance of Templates: time 0.003932/0.1338, allocations: 0.9646 MB / 366.1 MB, free: 4.922 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins/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