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.001379/0.001379, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009586/0.0009586, allocations: 166 kB / 24.82 MB, free: 9.266 MB / 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 0.9569/0.9569, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.913e-06/1.913e-06, allocations: 0 / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.393e-05/3.585e-05, allocations: 6.312 kB / 273.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003115/0.003151, allocations: 1.661 MB / 275.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009733/0.004124, allocations: 0.6153 MB / 275.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.013e-05/0.004214, allocations: 7.938 kB / 275.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.856e-05/0.004263, allocations: 7.875 kB / 275.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.00451, allocations: 27.72 kB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.004781, allocations: 83.7 kB / 275.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.00489, allocations: 79.72 kB / 275.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.287e-05/0.004973, allocations: 15.97 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.005113, allocations: 47.84 kB / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.585e-05/0.005169, allocations: 31.89 kB / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.005185, allocations: 4 kB / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.743e-05/0.005223, allocations: 8 kB / 276 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.005267, allocations: 27.91 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.005296, allocations: 19.92 kB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.005427, allocations: 67.73 kB / 276.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.005429, allocations: 3.938 kB / 276.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.005431, allocations: 0 / 276.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.005434, allocations: 0 / 276.1 MB, free: 14.53 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.0003926/0.005827, allocations: 432.1 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.005862, allocations: 12.03 kB / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.922e-05/0.005961, allocations: 32.84 kB / 276.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.006123, allocations: 153 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.006141, allocations: 8.375 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.006151, allocations: 8.312 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.006382, allocations: 207 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.006389, allocations: 3.938 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.006396, allocations: 0 / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.006401, allocations: 7.938 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.105e-05/0.006432, allocations: 19.92 kB / 277 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.006643, allocations: 263.7 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.947e-05/0.006723, allocations: 109.2 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/0.006754, allocations: 35.12 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.006774, allocations: 12.11 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.006797, allocations: 45.27 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.006799, allocations: 0 / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.00017/0.006969, allocations: 97.56 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.007022, allocations: 110.8 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.509e-05/0.007107, allocations: 200.8 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.007119, allocations: 29.7 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.007161, allocations: 138.9 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.007179, allocations: 19.88 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.007206, allocations: 23.38 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.007314, allocations: 0.4923 MB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.007326, allocations: 4 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.633e-05/0.007352, allocations: 42.72 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.196e-05/0.007394, allocations: 46.69 kB / 278.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.007396, allocations: 0 / 278.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.021e-05/0.007466, allocations: 77.52 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.007478, allocations: 4 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.007483, allocations: 4.5 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.007494, allocations: 0 / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.104e-05/0.007555, allocations: 15.92 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.00756, allocations: 4.156 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.00758, allocations: 4 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.007586, allocations: 4 kB / 278.7 MB, free: 11.61 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 7.181e-05/0.007657, allocations: 168.7 kB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.52e-05/0.007733, allocations: 85.45 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.007765, allocations: 20.41 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.007767, allocations: 4 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.007769, allocations: 0 / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.007772, allocations: 0 / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.571e-05/0.007868, allocations: 117.2 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.00787, allocations: 0 / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.007927, allocations: 19.98 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.007931, allocations: 3.938 kB / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.007937, allocations: 3.984 kB / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.007938, allocations: 8 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007939, allocations: 0 / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.769e-05/0.008027, allocations: 207.2 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.00806, allocations: 23.91 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.008077, allocations: 7.938 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.895e-05/0.008116, allocations: 4 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.963e-05/0.008135, allocations: 0 / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.008142, allocations: 8 kB / 279.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.403e-05/0.008186, allocations: 142.2 kB / 279.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008186, allocations: 0 / 279.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001401/0.008326, allocations: 20.03 kB / 279.6 MB, free: 10.71 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.408e-05/0.00841, allocations: 99.19 kB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.187e-05/0.008492, allocations: 51.58 kB / 279.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008493, allocations: 0 / 279.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.193e-05/0.008505, allocations: 7.688 kB / 279.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.008753, allocations: 56.03 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.009232, allocations: 246.6 kB / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.636e-05/0.009268, allocations: 63.34 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.171e-05/0.00929, allocations: 8.484 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.009348, allocations: 82.2 kB / 280.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.009349, allocations: 3.938 kB / 280.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of Templates: time 0.002665/0.01201, allocations: 1.066 MB / 281.2 MB, free: 8.988 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: 2.7067941799759865]