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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002012/0.002012, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002389/0.002389, allocations: 212.9 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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=5018,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=5018,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 63.89 kB / 378.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2803, allocations: 53.41 MB / 431.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003428/0.2837, allocations: 1.621 MB / 433.3 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.285, allocations: 0.5883 MB / 433.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.08e-05/0.2851, allocations: 3.938 kB / 433.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.898e-05/0.2852, allocations: 7.875 kB / 433.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.2854, allocations: 35.78 kB / 433.9 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.2858, allocations: 75.73 kB / 434 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.2859, allocations: 87.69 kB / 434.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.286, allocations: 11.98 kB / 434.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.2862, allocations: 39.8 kB / 434.1 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.88e-05/0.2863, allocations: 39.83 kB / 434.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.2863, allocations: 4 kB / 434.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.932e-05/0.2864, allocations: 12 kB / 434.2 MB, free: 4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.653e-05/0.2864, allocations: 15.92 kB / 434.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.2865, allocations: 31.8 kB / 434.2 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.2867, allocations: 93.81 kB / 434.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2867, allocations: 0 / 434.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2867, allocations: 0 / 434.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2867, allocations: 0 / 434.3 MB, free: 3.867 MB / 334.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.0006354/0.2873, allocations: 333.9 kB / 434.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2874, allocations: 19.98 kB / 434.6 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.2875, allocations: 16.84 kB / 434.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.2878, allocations: 162.2 kB / 434.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.2878, allocations: 4.375 kB / 434.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.2879, allocations: 16.12 kB / 434.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005234/0.2884, allocations: 216.8 kB / 435 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.2884, allocations: 3.938 kB / 435.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.2884, allocations: 11.98 kB / 435.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.2884, allocations: 0 / 435.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.2886, allocations: 47.95 kB / 435.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.2889, allocations: 234.1 kB / 435.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.2892, allocations: 99.89 kB / 435.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.2893, allocations: 50.61 kB / 435.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.2893, allocations: 4 kB / 435.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.2893, allocations: 38.56 kB / 435.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.2893, allocations: 0 / 435.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004449/0.2898, allocations: 141.5 kB / 435.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.254e-05/0.2899, allocations: 118.8 kB / 435.8 MB, free: 2.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.29, allocations: 149.9 kB / 435.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.29, allocations: 29.7 kB / 436 MB, free: 2.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.2901, allocations: 92.14 kB / 436 MB, free: 1.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.2901, allocations: 15.89 kB / 436.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.2902, allocations: 25.72 kB / 436.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2903, allocations: 326.8 kB / 436.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.348e-05/0.2904, allocations: 19.98 kB / 436.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.2905, allocations: 89.06 kB / 436.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.2907, allocations: 129.2 kB / 436.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2907, allocations: 0 / 436.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002465/0.2909, allocations: 137.3 kB / 436.8 MB, free: 1.102 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2909, allocations: 4 kB / 436.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.291, allocations: 4 kB / 436.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.291, allocations: 4 kB / 436.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.2911, allocations: 27.98 kB / 436.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2911, allocations: 0 / 436.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.389e-05/0.2912, allocations: 20.17 kB / 436.8 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.2912, allocations: 8 kB / 436.8 MB, free: 1.035 MB / 334.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.0001217/0.2913, allocations: 136.4 kB / 437 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.2915, allocations: 97.56 kB / 437.1 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.2916, allocations: 16.41 kB / 437.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2916, allocations: 0 / 437.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.2916, allocations: 4.609 kB / 437.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2916, allocations: 4 kB / 437.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.2918, allocations: 125.2 kB / 437.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2918, allocations: 0 / 437.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.2919, allocations: 27.97 kB / 437.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.2919, allocations: 4 kB / 437.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.2919, allocations: 8 kB / 437.3 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.2919, allocations: 0 / 437.3 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2919, allocations: 3.938 kB / 437.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.2923, allocations: 225 kB / 437.5 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.2923, allocations: 23.89 kB / 437.5 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.2923, allocations: 8 kB / 437.5 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.882e-05/0.2924, allocations: 4 kB / 437.5 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.2925, allocations: 3.984 kB / 437.5 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.2925, allocations: 8 kB / 437.5 MB, free: 288 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.2926, allocations: 122.8 kB / 437.6 MB, free: 168 kB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2926, allocations: 0 / 437.6 MB, free: 168 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.000293/0.2929, allocations: 16 kB / 437.7 MB, free: 152 kB / 334.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.0001254/0.293, allocations: 103.2 kB / 437.8 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002681/0.2933, allocations: 76.47 kB / 437.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2933, allocations: 0 / 437.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.099e-05/0.2933, allocations: 12.05 kB / 437.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.2938, allocations: 63.86 kB / 437.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006912/0.2945, allocations: 249.4 kB / 438.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.2946, allocations: 92.17 kB / 438.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.318e-05/0.2946, allocations: 8.562 kB / 438.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.2947, allocations: 19.42 kB / 438.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2947, allocations: 0 / 438.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of Templates: time 0.004259/0.2989, allocations: 1.086 MB / 439.4 MB, free: 14.41 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.626751778647304]