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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.071/1.071, allocations: 173.4 MB / 202.3 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] 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=5018,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=5018,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.32e-07/9.32e-07, allocations: 0 / 269.2 MB, free: 9.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.521e-05, allocations: 2.312 kB / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001958/0.001973, allocations: 1.645 MB / 270.9 MB, free: 8.117 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006546/0.002628, allocations: 0.5476 MB / 271.4 MB, free: 7.566 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.002679, allocations: 3.938 kB / 271.4 MB, free: 7.562 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.002704, allocations: 3.938 kB / 271.4 MB, free: 7.559 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.002839, allocations: 31.78 kB / 271.4 MB, free: 7.527 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.002977, allocations: 80.52 kB / 271.5 MB, free: 7.449 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.112e-05/0.003068, allocations: 75.75 kB / 271.6 MB, free: 7.375 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.00312, allocations: 12.77 kB / 271.6 MB, free: 7.359 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.887e-05/0.003189, allocations: 49.78 kB / 271.7 MB, free: 7.312 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.981e-05/0.003229, allocations: 27.89 kB / 271.7 MB, free: 7.285 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.003241, allocations: 4 kB / 271.7 MB, free: 7.281 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.457e-06/0.003251, allocations: 8 kB / 271.7 MB, free: 7.273 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.148e-05/0.003282, allocations: 19.92 kB / 271.7 MB, free: 7.254 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.003305, allocations: 21.2 kB / 271.7 MB, free: 7.234 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.7e-05/0.003382, allocations: 55.8 kB / 271.8 MB, free: 7.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.003384, allocations: 0 / 271.8 MB, free: 7.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003384, allocations: 0 / 271.8 MB, free: 7.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.003387, allocations: 8.438 kB / 271.8 MB, free: 7.172 MB / 250.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.0003022/0.003689, allocations: 436.7 kB / 272.2 MB, free: 6.711 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.073e-05/0.00371, allocations: 14 kB / 272.2 MB, free: 6.699 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/0.003732, allocations: 12.89 kB / 272.3 MB, free: 6.688 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.003862, allocations: 151.7 kB / 272.4 MB, free: 6.516 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.003876, allocations: 10.22 kB / 272.4 MB, free: 6.508 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.003884, allocations: 8.375 kB / 272.4 MB, free: 6.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.004087, allocations: 214.6 kB / 272.6 MB, free: 6.262 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-06/0.004092, allocations: 192 / 272.6 MB, free: 6.262 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-06/0.004097, allocations: 0.875 kB / 272.6 MB, free: 6.262 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.004101, allocations: 7.938 kB / 272.6 MB, free: 6.254 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.331e-05/0.004134, allocations: 27.91 kB / 272.7 MB, free: 6.227 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.004295, allocations: 255.8 kB / 272.9 MB, free: 5.941 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.859e-05/0.004363, allocations: 97.11 kB / 273 MB, free: 5.809 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.0044, allocations: 47.34 kB / 273.1 MB, free: 5.75 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.004413, allocations: 4 kB / 273.1 MB, free: 5.746 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.00443, allocations: 37.33 kB / 273.1 MB, free: 5.699 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 7.01e-07/0.004431, allocations: 4 kB / 273.1 MB, free: 5.695 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001342/0.004565, allocations: 105.6 kB / 273.2 MB, free: 5.586 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.00461, allocations: 114.8 kB / 273.3 MB, free: 5.449 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.791e-05/0.004688, allocations: 193.9 kB / 273.5 MB, free: 5.242 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.004699, allocations: 25.7 kB / 273.5 MB, free: 5.211 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.004741, allocations: 142.8 kB / 273.7 MB, free: 5.066 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.173e-05/0.004753, allocations: 7.891 kB / 273.7 MB, free: 5.059 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.004781, allocations: 31.33 kB / 273.7 MB, free: 5.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.004905, allocations: 0.4884 MB / 274.2 MB, free: 4.52 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.041e-05/0.004916, allocations: 7.938 kB / 274.2 MB, free: 4.512 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.741e-05/0.004943, allocations: 47.22 kB / 274.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.67e-05/0.00498, allocations: 50.69 kB / 274.3 MB, free: 4.383 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.004981, allocations: 0 / 274.3 MB, free: 4.383 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.121e-05/0.005042, allocations: 65.58 kB / 274.4 MB, free: 4.312 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.005052, allocations: 8 kB / 274.4 MB, free: 4.305 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.005056, allocations: 7.938 kB / 274.4 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.238e-06/0.00506, allocations: 0 / 274.4 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-05/0.005104, allocations: 12.11 kB / 274.4 MB, free: 4.285 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.005108, allocations: 11.94 kB / 274.4 MB, free: 4.273 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.005127, allocations: 0 / 274.4 MB, free: 4.273 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.005132, allocations: 4 kB / 274.4 MB, free: 4.27 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,$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 (7): * Single equations (assignments): 7 * 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 6.388e-05/0.005196, allocations: 164.5 kB / 274.6 MB, free: 4.098 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.005273, allocations: 81.56 kB / 274.6 MB, free: 4.012 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.005296, allocations: 16.41 kB / 274.7 MB, free: 3.992 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.005299, allocations: 4 kB / 274.7 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.005302, allocations: 3.984 kB / 274.7 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005304, allocations: 0 / 274.7 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.176e-05/0.005396, allocations: 117.2 kB / 274.8 MB, free: 3.844 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.005397, allocations: 4 kB / 274.8 MB, free: 3.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.855e-05/0.005445, allocations: 19.98 kB / 274.8 MB, free: 3.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.005447, allocations: 0 / 274.8 MB, free: 3.82 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.005454, allocations: 4 kB / 274.8 MB, free: 3.816 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005455, allocations: 0 / 274.8 MB, free: 3.816 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.005457, allocations: 3.938 kB / 274.8 MB, free: 3.812 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.993e-05/0.005537, allocations: 207.2 kB / 275 MB, free: 3.582 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.005571, allocations: 27.88 kB / 275 MB, free: 3.555 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.005582, allocations: 0 / 275 MB, free: 3.555 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.15e-05/0.005623, allocations: 7.938 kB / 275.1 MB, free: 3.547 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.005638, allocations: 11.95 kB / 275.1 MB, free: 3.535 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.005645, allocations: 8.125 kB / 275.1 MB, free: 3.527 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.272e-05/0.005688, allocations: 142.1 kB / 275.2 MB, free: 3.391 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005688, allocations: 0 / 275.2 MB, free: 3.391 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001511/0.005839, allocations: 16 kB / 275.2 MB, free: 3.375 MB / 250.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 5.454e-05/0.005893, allocations: 99.23 kB / 275.3 MB, free: 3.27 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.437e-05/0.005958, allocations: 43.61 kB / 275.4 MB, free: 3.223 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.72e-07/0.005958, allocations: 7.938 kB / 275.4 MB, free: 3.215 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.798e-06/0.005968, allocations: 11.94 kB / 275.4 MB, free: 3.199 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.006185, allocations: 50.66 kB / 275.4 MB, free: 3.152 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.00658, allocations: 245.6 kB / 275.7 MB, free: 2.871 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.652e-05/0.006617, allocations: 71.33 kB / 275.7 MB, free: 2.781 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.776e-05/0.006634, allocations: 4.734 kB / 275.7 MB, free: 2.777 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.568e-05/0.00669, allocations: 86.19 kB / 275.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of SimCode: time 4.21e-07/0.006691, allocations: 0 / 275.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of Templates: time 0.002311/0.009002, allocations: 1.076 MB / 276.9 MB, free: 1.645 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7929204320535064]