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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001053, allocations: 108.8 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009208/0.0009208, allocations: 55.91 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2756, allocations: 50.46 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002509/0.2781, allocations: 1.665 MB / 408.7 MB, free: 26.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000868/0.279, allocations: 0.5909 MB / 409.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.284e-05/0.2791, allocations: 7.938 kB / 409.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.914e-05/0.2792, allocations: 3.938 kB / 409.3 MB, free: 25.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.2794, allocations: 27.91 kB / 409.4 MB, free: 25.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.2797, allocations: 63.5 kB / 409.4 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.2798, allocations: 75.77 kB / 409.5 MB, free: 25.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2799, allocations: 20.2 kB / 409.5 MB, free: 25.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.2801, allocations: 39.86 kB / 409.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.555e-05/0.2801, allocations: 42.8 kB / 409.6 MB, free: 25.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.2802, allocations: 0 / 409.6 MB, free: 25.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.42e-05/0.2802, allocations: 12 kB / 409.6 MB, free: 25.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.2803, allocations: 15.92 kB / 409.6 MB, free: 25.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.2803, allocations: 35.73 kB / 409.7 MB, free: 25.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.2805, allocations: 83.69 kB / 409.7 MB, free: 25.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2805, allocations: 0 / 409.7 MB, free: 25.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.2805, allocations: 0 / 409.7 MB, free: 25.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.2805, allocations: 0 / 409.7 MB, free: 25.14 MB / 298.7 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.0005169/0.281, allocations: 408.6 kB / 410.1 MB, free: 24.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2811, allocations: 8.031 kB / 410.1 MB, free: 24.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.2812, allocations: 20.83 kB / 410.2 MB, free: 24.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.2814, allocations: 196.1 kB / 410.4 MB, free: 24.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.2814, allocations: 8.375 kB / 410.4 MB, free: 24.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.2814, allocations: 12.3 kB / 410.4 MB, free: 24.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.2818, allocations: 239.2 kB / 410.6 MB, free: 24.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2818, allocations: 0 / 410.6 MB, free: 24.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.2819, allocations: 0 / 410.6 MB, free: 24.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.2819, allocations: 0 / 410.6 MB, free: 24.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.282, allocations: 59.89 kB / 410.7 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.2823, allocations: 286.5 kB / 410.9 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.2825, allocations: 99.83 kB / 411 MB, free: 23.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.247e-05/0.2826, allocations: 54.69 kB / 411.1 MB, free: 23.58 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.2826, allocations: 11.97 kB / 411.1 MB, free: 23.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.2826, allocations: 34.56 kB / 411.1 MB, free: 23.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.2826, allocations: 0 / 411.1 MB, free: 23.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003562/0.283, allocations: 149.4 kB / 411.3 MB, free: 23.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.283, allocations: 114.8 kB / 411.4 MB, free: 23.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.85e-05/0.2831, allocations: 144.2 kB / 411.5 MB, free: 23.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.2832, allocations: 29.7 kB / 411.6 MB, free: 23.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.46e-05/0.2832, allocations: 88.14 kB / 411.7 MB, free: 22.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.2832, allocations: 15.89 kB / 411.7 MB, free: 22.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.2833, allocations: 37.73 kB / 411.7 MB, free: 22.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.594e-05/0.2833, allocations: 318.8 kB / 412 MB, free: 22.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.674e-05/0.2834, allocations: 15.98 kB / 412 MB, free: 22.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.18e-05/0.2834, allocations: 97.42 kB / 412.1 MB, free: 22.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.2836, allocations: 121.2 kB / 412.2 MB, free: 22.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2836, allocations: 0 / 412.2 MB, free: 22.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001731/0.2837, allocations: 129.9 kB / 412.4 MB, free: 22.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2838, allocations: 11.94 kB / 412.4 MB, free: 22.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2838, allocations: 0 / 412.4 MB, free: 22.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.2838, allocations: 4 kB / 412.4 MB, free: 22.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.2839, allocations: 27.92 kB / 412.4 MB, free: 22.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2839, allocations: 4 kB / 412.4 MB, free: 22.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.761e-05/0.284, allocations: 15.94 kB / 412.4 MB, free: 22.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.284, allocations: 8.297 kB / 412.4 MB, free: 22.09 MB / 298.7 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 7.801e-05/0.2841, allocations: 143.2 kB / 412.6 MB, free: 21.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.2842, allocations: 93.52 kB / 412.7 MB, free: 21.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.2843, allocations: 20.3 kB / 412.7 MB, free: 21.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2843, allocations: 0 / 412.7 MB, free: 21.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2843, allocations: 4 kB / 412.7 MB, free: 21.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2843, allocations: 0 / 412.7 MB, free: 21.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.2844, allocations: 189.5 kB / 412.9 MB, free: 21.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2845, allocations: 0 / 412.9 MB, free: 21.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.566e-05/0.2846, allocations: 19.98 kB / 412.9 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2846, allocations: 8 kB / 412.9 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.2846, allocations: 0 / 412.9 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2846, allocations: 0 / 412.9 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2846, allocations: 7.984 kB / 412.9 MB, free: 21.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004426/0.285, allocations: 0.8268 MB / 413.7 MB, free: 20.65 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.2851, allocations: 100.9 kB / 413.8 MB, free: 20.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.2851, allocations: 4 kB / 413.8 MB, free: 20.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.508e-05/0.2852, allocations: 8 kB / 413.9 MB, free: 20.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.2853, allocations: 3.938 kB / 413.9 MB, free: 20.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.2853, allocations: 7.984 kB / 413.9 MB, free: 20.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.052e-05/0.2853, allocations: 105.7 kB / 414 MB, free: 20.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2853, allocations: 0 / 414 MB, free: 20.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003346/0.2857, allocations: 16 kB / 414 MB, free: 20.39 MB / 298.7 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 9.875e-05/0.2858, allocations: 111.2 kB / 414.1 MB, free: 20.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.286, allocations: 75.84 kB / 414.2 MB, free: 20.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.286, allocations: 0 / 414.2 MB, free: 20.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.171e-05/0.286, allocations: 11.98 kB / 414.2 MB, free: 20.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.2865, allocations: 57.77 kB / 414.2 MB, free: 20.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.287, allocations: 417.7 kB / 414.6 MB, free: 19.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.2872, allocations: 0.716 MB / 415.4 MB, free: 18.94 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.534e-05/0.2872, allocations: 8.562 kB / 415.4 MB, free: 18.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.2872, allocations: 15.42 kB / 415.4 MB, free: 18.91 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2872, allocations: 0 / 415.4 MB, free: 18.91 MB / 298.7 MB Notification: Performance of Templates: time 0.002777/0.29, allocations: 0.9107 MB / 416.3 MB, free: 18.02 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches