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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 176.2 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 241.4 MB, free: 9.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009254/0.0009252, allocations: 95.75 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 15.94 kB / 352.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2621, allocations: 50.4 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1062/0.3684, allocations: 77.35 MB / 480.1 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.3688, allocations: 81.45 kB / 480.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01014/0.3789, allocations: 3.511 MB / 483.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.877e-06/0.379, allocations: 7.938 kB / 483.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.379, allocations: 0 / 483.7 MB, free: 15.38 MB / 362.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.0005092/0.3795, allocations: 403.1 kB / 484.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3796, allocations: 8.031 kB / 484.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.3796, allocations: 12.84 kB / 484.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.3799, allocations: 204 kB / 484.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.3799, allocations: 8.375 kB / 484.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.38, allocations: 8.375 kB / 484.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004958/0.3805, allocations: 235.6 kB / 484.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3805, allocations: 192 / 484.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.3805, allocations: 7.875 kB / 484.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3805, allocations: 4 kB / 484.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.3807, allocations: 55.89 kB / 484.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.3811, allocations: 290.6 kB / 484.9 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.3813, allocations: 107.7 kB / 485 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.3815, allocations: 58.73 kB / 485.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.3815, allocations: 0 / 485.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3815, allocations: 42.56 kB / 485.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.3815, allocations: 0 / 485.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004072/0.382, allocations: 157.3 kB / 485.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/0.382, allocations: 110.9 kB / 485.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.3822, allocations: 144.6 kB / 485.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3822, allocations: 25.7 kB / 485.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.3823, allocations: 100.1 kB / 485.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.3823, allocations: 7.844 kB / 485.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.3823, allocations: 4 kB / 485.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3824, allocations: 322.8 kB / 486 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.625e-05/0.3825, allocations: 19.98 kB / 486 MB, free: 12.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.161e-05/0.3826, allocations: 97.36 kB / 486.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.3827, allocations: 121.3 kB / 486.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3828, allocations: 0 / 486.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002492/0.383, allocations: 141.5 kB / 486.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.383, allocations: 4 kB / 486.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.383, allocations: 4 kB / 486.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3831, allocations: 4 kB / 486.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.3832, allocations: 23.98 kB / 486.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.3832, allocations: 11.88 kB / 486.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.287e-05/0.3833, allocations: 15.84 kB / 486.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3833, allocations: 8 kB / 486.4 MB, free: 12.33 MB / 362.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 (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 0.0001032/0.3834, allocations: 133.9 kB / 486.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.3836, allocations: 94.08 kB / 486.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/0.3836, allocations: 16.31 kB / 486.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.3836, allocations: 7.984 kB / 486.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.3837, allocations: 0 / 486.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3837, allocations: 0 / 486.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.3838, allocations: 189.6 kB / 486.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3839, allocations: 4 kB / 486.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.384, allocations: 27.91 kB / 486.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.384, allocations: 0 / 486.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.384, allocations: 8 kB / 486.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.384, allocations: 0 / 486.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.384, allocations: 0 / 486.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.3843, allocations: 236.9 kB / 487.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.116e-05/0.3844, allocations: 101 kB / 487.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.3844, allocations: 4 kB / 487.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.144e-05/0.3845, allocations: 11.98 kB / 487.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.3845, allocations: 7.938 kB / 487.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.3846, allocations: 0 / 487.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.02e-05/0.3846, allocations: 114.3 kB / 487.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3846, allocations: 0 / 487.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.3849, allocations: 16 kB / 487.4 MB, free: 11.27 MB / 362.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 (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.0001152/0.385, allocations: 103.2 kB / 487.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.3852, allocations: 83.83 kB / 487.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3852, allocations: 0 / 487.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.517e-05/0.3853, allocations: 8.688 kB / 487.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.3857, allocations: 71.94 kB / 487.6 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.3862, allocations: 247.9 kB / 487.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.3864, allocations: 0.716 MB / 488.6 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.007e-05/0.3865, allocations: 8.422 kB / 488.6 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.3865, allocations: 15.42 kB / 488.6 MB, free: 9.949 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.3865, allocations: 3.938 kB / 488.6 MB, free: 9.945 MB / 362.7 MB Notification: Performance of Templates: time 0.002915/0.3895, allocations: 0.8376 MB / 489.4 MB, free: 9.121 MB / 362.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches