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.001019/0.001019, allocations: 180.7 kB / 16.39 MB, free: 5.766 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.385/1.385, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0008281/0.0008281, allocations: 93.86 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002916, allocations: 15.94 kB / 351.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2731, allocations: 50.4 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.3743, allocations: 77.32 MB / 478.8 MB, free: 3.145 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.3746, allocations: 79.95 kB / 478.9 MB, free: 3.066 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009837/0.3844, allocations: 3.517 MB / 482.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3845, allocations: 0 / 482.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.3845, allocations: 4 kB / 482.4 MB, free: 15.55 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.0004934/0.385, allocations: 394.9 kB / 482.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3851, allocations: 8.031 kB / 482.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.3851, allocations: 11.86 kB / 482.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.3853, allocations: 213.6 kB / 483 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.3854, allocations: 4 kB / 483 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.3854, allocations: 8 kB / 483 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.3859, allocations: 219.6 kB / 483.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3859, allocations: 0 / 483.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.3859, allocations: 11.89 kB / 483.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.386, allocations: 4 kB / 483.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.3861, allocations: 55.89 kB / 483.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.3866, allocations: 290.6 kB / 483.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.3868, allocations: 107.8 kB / 483.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.3868, allocations: 4.062 kB / 483.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3868, allocations: 42.45 kB / 483.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.3868, allocations: 0 / 483.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004496/0.3873, allocations: 157.5 kB / 483.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.3874, allocations: 114.8 kB / 484 MB, free: 13.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.3875, allocations: 125 kB / 484.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.3875, allocations: 29.7 kB / 484.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.3876, allocations: 92.11 kB / 484.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.3876, allocations: 15.84 kB / 484.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.3876, allocations: 0 / 484.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3878, allocations: 322.8 kB / 484.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-05/0.3878, allocations: 31.92 kB / 484.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.849e-05/0.3879, allocations: 85.44 kB / 484.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.157e-05/0.388, allocations: 35.98 kB / 484.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.388, allocations: 4 kB / 484.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002192/0.3883, allocations: 137.3 kB / 484.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.3883, allocations: 8 kB / 484.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.3883, allocations: 4 kB / 484.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3883, allocations: 352 / 484.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.3885, allocations: 35.91 kB / 484.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.3885, allocations: 4 kB / 484.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.132e-05/0.3886, allocations: 19.84 kB / 485 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3886, allocations: 4 kB / 485 MB, free: 12.72 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.0001091/0.3887, allocations: 129.8 kB / 485.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.3889, allocations: 101.5 kB / 485.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.389, allocations: 16.31 kB / 485.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.389, allocations: 0 / 485.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.389, allocations: 7.984 kB / 485.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.389, allocations: 4 kB / 485.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.3892, allocations: 181.6 kB / 485.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3892, allocations: 0 / 485.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.3893, allocations: 20.61 kB / 485.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.3893, allocations: 7.984 kB / 485.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.3893, allocations: 3.953 kB / 485.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3893, allocations: 4 kB / 485.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3894, allocations: 0 / 485.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.3897, allocations: 264.3 kB / 485.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.029e-05/0.3898, allocations: 97 kB / 485.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.3898, allocations: 8 kB / 485.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.3899, allocations: 11.98 kB / 485.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.3899, allocations: 0 / 485.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.39, allocations: 7.938 kB / 485.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.851e-05/0.39, allocations: 114.2 kB / 485.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3901, allocations: 0 / 485.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002656/0.3903, allocations: 12 kB / 485.9 MB, free: 11.62 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.0001564/0.3905, allocations: 107.2 kB / 486 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.3907, allocations: 87.83 kB / 486.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3908, allocations: 0 / 486.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/0.3908, allocations: 11.94 kB / 486.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.3912, allocations: 59.95 kB / 486.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.3917, allocations: 259.9 kB / 486.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.392, allocations: 0.7083 MB / 487.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.396e-05/0.3921, allocations: 16.34 kB / 487.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.3921, allocations: 15.44 kB / 487.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3921, allocations: 0 / 487.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of Templates: time 0.003155/0.3953, allocations: 0.8306 MB / 488 MB, free: 9.48 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/jenkins/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