Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.036/1.036, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.342e-05, allocations: 2.312 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002285/0.002308, allocations: 1.665 MB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.003379, allocations: 0.623 MB / 275.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.00349, allocations: 3.938 kB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.348e-05/0.003553, allocations: 3.938 kB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003284/0.003881, allocations: 35.72 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.004163, allocations: 83.7 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.004288, allocations: 75.78 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.937e-05/0.004388, allocations: 11.97 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.00453, allocations: 59.77 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.344e-05/0.004593, allocations: 23.91 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.004615, allocations: 8 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.423e-05/0.004669, allocations: 8 kB / 275.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.00473, allocations: 23.91 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.004772, allocations: 19.92 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.004915, allocations: 67.72 kB / 275.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.004918, allocations: 8 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.004919, allocations: 0 / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.004923, allocations: 0 / 275.7 MB, free: 14.82 MB / 266.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.00046/0.005383, allocations: 424.2 kB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.005425, allocations: 12.03 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.005543, allocations: 32.77 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.005741, allocations: 156.9 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.005766, allocations: 12.38 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.00578, allocations: 4.375 kB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.006152, allocations: 222.2 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.006164, allocations: 3.938 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.006175, allocations: 4 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.006183, allocations: 4 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.433e-05/0.006238, allocations: 23.97 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.006543, allocations: 291 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.006658, allocations: 105.2 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.006712, allocations: 43.19 kB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.006744, allocations: 7.984 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.006773, allocations: 41.39 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 9.11e-07/0.006774, allocations: 0 / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.00023/0.007004, allocations: 109.6 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.007062, allocations: 114.8 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.007166, allocations: 204.9 kB / 277.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.007177, allocations: 25.7 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.007236, allocations: 134.8 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.007258, allocations: 15.94 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.007293, allocations: 23.38 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.007435, allocations: 0.4923 MB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.007452, allocations: 4 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.908e-05/0.007491, allocations: 46.67 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.504e-05/0.007546, allocations: 54.69 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.007556, allocations: 4 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.386e-05/0.00764, allocations: 73.45 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.007655, allocations: 4 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.007662, allocations: 4 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.007681, allocations: 0 / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.407e-05/0.007765, allocations: 11.98 kB / 278.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.007772, allocations: 4.125 kB / 278.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.534e-05/0.007797, allocations: 8 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.007804, allocations: 4 kB / 278.4 MB, free: 11.84 MB / 266.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 9.234e-05/0.007897, allocations: 176.3 kB / 278.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.523e-05/0.007982, allocations: 81.58 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.008022, allocations: 16.47 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.008024, allocations: 0 / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.00803, allocations: 7.938 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.008035, allocations: 3.984 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.008151, allocations: 133.2 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.008153, allocations: 4 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-05/0.008214, allocations: 23.98 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.008215, allocations: 0 / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.008227, allocations: 11.98 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.008228, allocations: 0 / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.00823, allocations: 0 / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.008392, allocations: 267 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.00843, allocations: 23.83 kB / 279.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.008449, allocations: 8 kB / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.731e-05/0.008497, allocations: 4 kB / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.008537, allocations: 3.984 kB / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.008545, allocations: 11.98 kB / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.032e-05/0.008605, allocations: 147.2 kB / 279.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008605, allocations: 0 / 279.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001548/0.00876, allocations: 8 kB / 279.3 MB, free: 10.85 MB / 266.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 8.644e-05/0.008847, allocations: 103.2 kB / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.008949, allocations: 43.61 kB / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.008951, allocations: 0 / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.479e-05/0.008965, allocations: 15.88 kB / 279.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.009244, allocations: 58.66 kB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005889/0.009833, allocations: 242.2 kB / 279.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.892e-05/0.009882, allocations: 71.33 kB / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.191e-05/0.009904, allocations: 0.5 kB / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.009939, allocations: 20.5 kB / 279.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.00994, allocations: 0 / 279.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of Templates: time 0.002777/0.01272, allocations: 0.9928 MB / 280.8 MB, free: 9.254 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1570931212045252]