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.0009204/0.0009206, allocations: 86.81 kB / 16.31 MB, free: 5.676 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.001049/0.001049, allocations: 187.3 kB / 17.21 MB, free: 5.59 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.441/1.441, allocations: 223.3 MB / 241.2 MB, free: 14.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.000358, allocations: 4 kB / 300.8 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1145, allocations: 50.42 MB / 351.2 MB, free: 3.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001954/0.1165, allocations: 1.296 MB / 352.5 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000982/0.1175, allocations: 0.5496 MB / 353.1 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1176, allocations: 4 kB / 353.1 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.341e-05/0.1177, allocations: 3.938 kB / 353.1 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.1179, allocations: 23.91 kB / 353.1 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1182, allocations: 59.88 kB / 353.2 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.1184, allocations: 63.78 kB / 353.2 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.429e-05/0.1185, allocations: 24.2 kB / 353.3 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.698e-05/0.1186, allocations: 27.86 kB / 353.3 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.927e-05/0.1187, allocations: 31.83 kB / 353.3 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.1187, allocations: 4 kB / 353.3 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.1187, allocations: 0 / 353.3 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.1188, allocations: 19.92 kB / 353.3 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.926e-05/0.1188, allocations: 37.64 kB / 353.4 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.735e-05/0.1189, allocations: 55.89 kB / 353.4 MB, free: 1.547 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1189, allocations: 0 / 353.4 MB, free: 1.547 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1189, allocations: 4 kB / 353.4 MB, free: 1.543 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.1189, allocations: 0 / 353.4 MB, free: 1.543 MB / 286.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.0005164/0.1195, allocations: 395.2 kB / 353.8 MB, free: 1.109 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1195, allocations: 16.02 kB / 353.8 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.1195, allocations: 11.81 kB / 353.9 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.1197, allocations: 197.6 kB / 354 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.1198, allocations: 4 kB / 354.1 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.1198, allocations: 8 kB / 354.1 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/0.1203, allocations: 221 kB / 354.3 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1203, allocations: 7.953 kB / 354.3 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.1e-05/0.1204, allocations: 11.98 kB / 354.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.1204, allocations: 0 / 354.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.1206, allocations: 55.89 kB / 354.4 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.121, allocations: 286.6 kB / 354.6 MB, free: 200 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.1212, allocations: 103.9 kB / 354.7 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.1213, allocations: 54.58 kB / 354.8 MB, free: 4 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.061e-05/0.1214, allocations: 15.98 kB / 354.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.1214, allocations: 30.56 kB / 354.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.1214, allocations: 0 / 354.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004343/0.1219, allocations: 153.5 kB / 355 MB, free: 15.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.122, allocations: 119.4 kB / 355.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.1221, allocations: 137.8 kB / 355.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1221, allocations: 29.64 kB / 355.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.1222, allocations: 92.14 kB / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.1222, allocations: 19.73 kB / 355.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.1222, allocations: 4 kB / 355.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1223, allocations: 318.8 kB / 355.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-05/0.1224, allocations: 27.94 kB / 355.7 MB, free: 15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.634e-05/0.1225, allocations: 85.42 kB / 355.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.525e-05/0.1226, allocations: 35.94 kB / 355.8 MB, free: 14.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1226, allocations: 0 / 355.8 MB, free: 14.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00023/0.1228, allocations: 141.3 kB / 356 MB, free: 14.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1229, allocations: 8 kB / 356 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1229, allocations: 3.984 kB / 356 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1229, allocations: 4 kB / 356 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.123, allocations: 24.28 kB / 356 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.123, allocations: 15.98 kB / 356 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.824e-05/0.1231, allocations: 8 kB / 356 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.1231, allocations: 8 kB / 356 MB, free: 14.64 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 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.852e-05/0.1232, allocations: 124.6 kB / 356.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.1234, allocations: 109.5 kB / 356.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/0.1235, allocations: 8.312 kB / 356.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.1235, allocations: 4 kB / 356.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.1235, allocations: 0 / 356.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1235, allocations: 4 kB / 356.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.1237, allocations: 193.5 kB / 356.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1237, allocations: 0 / 356.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.1238, allocations: 19.98 kB / 356.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.1238, allocations: 7.953 kB / 356.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1239, allocations: 4 kB / 356.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1239, allocations: 7.922 kB / 356.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1239, allocations: 4 kB / 356.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.1242, allocations: 225.1 kB / 356.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/0.1242, allocations: 96.98 kB / 356.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1243, allocations: 7.953 kB / 356.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.146e-05/0.1244, allocations: 8 kB / 356.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.1244, allocations: 0 / 356.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.1244, allocations: 11.98 kB / 356.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.002e-05/0.1245, allocations: 109.8 kB / 357 MB, free: 13.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1245, allocations: 0 / 357 MB, free: 13.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.1248, allocations: 12 kB / 357 MB, free: 13.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001123/0.1249, allocations: 115.1 kB / 357.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.1251, allocations: 84.41 kB / 357.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1251, allocations: 0 / 357.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.049e-05/0.1252, allocations: 15.98 kB / 357.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.1256, allocations: 62.62 kB / 357.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006088/0.1262, allocations: 291.2 kB / 357.5 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.1265, allocations: 0.7082 MB / 358.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.5e-05/0.1266, allocations: 8.562 kB / 358.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.1266, allocations: 11.44 kB / 358.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1266, allocations: 0 / 358.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of Templates: time 0.003139/0.1298, allocations: 0.8317 MB / 359.1 MB, free: 11.42 MB / 302.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