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.001402/0.001402, allocations: 84.39 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001521/0.001521, allocations: 164.1 kB / 23.95 MB, free: 4.156 MB / 14.72 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.505/1.505, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.473e-06/1.473e-06, allocations: 0 / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.458e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002725/0.002749, allocations: 1.632 MB / 326.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.004024, allocations: 0.5944 MB / 327.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.333e-05/0.004117, allocations: 5.156 kB / 327.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.158e-05/0.004178, allocations: 10.34 kB / 327.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.004479, allocations: 34.25 kB / 327.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.004838, allocations: 75.81 kB / 327.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.005002, allocations: 80.44 kB / 327.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.005103, allocations: 12 kB / 327.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.005281, allocations: 61.16 kB / 327.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.347e-05/0.005355, allocations: 27.03 kB / 327.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.005378, allocations: 6.406 kB / 327.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.557e-05/0.005423, allocations: 8.406 kB / 327.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.00548, allocations: 20.67 kB / 327.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.00553, allocations: 26.53 kB / 327.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.005722, allocations: 87.55 kB / 327.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.005725, allocations: 0 / 327.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005725, allocations: 1.281 kB / 327.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.005729, allocations: 0 / 327.7 MB, free: 14.81 MB / 302.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.0006169/0.006346, allocations: 330.5 kB / 328.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.006387, allocations: 9.344 kB / 328.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.006549, allocations: 27.08 kB / 328.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.00678, allocations: 153.5 kB / 328.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.006807, allocations: 7.906 kB / 328.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.006826, allocations: 8 kB / 328.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005614/0.007388, allocations: 220.1 kB / 328.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.007399, allocations: 3.938 kB / 328.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.007413, allocations: 5.625 kB / 328.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.007418, allocations: 6.062 kB / 328.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.007603, allocations: 50.16 kB / 328.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.007943, allocations: 234 kB / 328.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.008164, allocations: 95.91 kB / 328.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.008299, allocations: 52.44 kB / 328.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.008328, allocations: 14.55 kB / 328.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.008366, allocations: 34.05 kB / 329 MB, free: 13.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.008368, allocations: 0 / 329 MB, free: 13.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004976/0.008865, allocations: 149.4 kB / 329.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.008971, allocations: 120.5 kB / 329.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.009131, allocations: 144.7 kB / 329.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.009153, allocations: 25.7 kB / 329.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.009217, allocations: 92.44 kB / 329.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.009238, allocations: 11.27 kB / 329.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/0.009327, allocations: 25.64 kB / 329.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.009532, allocations: 319.2 kB / 329.8 MB, free: 13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.698e-05/0.009588, allocations: 15.39 kB / 329.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.498e-05/0.009663, allocations: 43.61 kB / 329.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.009784, allocations: 57.39 kB / 330 MB, free: 12.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.009786, allocations: 0 / 330 MB, free: 12.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001897/0.009976, allocations: 89.81 kB / 330 MB, free: 12.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.009991, allocations: 5.562 kB / 330 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.009996, allocations: 5.031 kB / 330 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.01001, allocations: 1.891 kB / 330.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.039e-05/0.0101, allocations: 11.08 kB / 330.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.01011, allocations: 1.094 kB / 330.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.01016, allocations: 4.984 kB / 330.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.01016, allocations: 3.188 kB / 330.1 MB, free: 12.85 MB / 302.1 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 0.000119/0.01028, allocations: 133.4 kB / 330.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.0105, allocations: 95.12 kB / 330.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.343e-05/0.01056, allocations: 17.47 kB / 330.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.01056, allocations: 2.188 kB / 330.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.01057, allocations: 1.797 kB / 330.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.01058, allocations: 1.891 kB / 330.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.01077, allocations: 132.3 kB / 330.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01077, allocations: 0 / 330.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.01089, allocations: 20.66 kB / 330.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.01089, allocations: 1.531 kB / 330.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.01091, allocations: 11.23 kB / 330.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.01091, allocations: 5.703 kB / 330.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.01091, allocations: 5.125 kB / 330.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.01129, allocations: 219.5 kB / 330.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/0.01135, allocations: 24.38 kB / 330.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.01138, allocations: 7.266 kB / 330.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.986e-05/0.01148, allocations: 5.219 kB / 330.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.01152, allocations: 2.75 kB / 330.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.01154, allocations: 7.172 kB / 330.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.01164, allocations: 116.1 kB / 330.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01164, allocations: 5.031 kB / 330.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00026/0.0119, allocations: 10.67 kB / 330.9 MB, free: 12.21 MB / 302.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.0001413/0.01204, allocations: 105.3 kB / 331 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.0123, allocations: 67.02 kB / 331 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.0123, allocations: 1.031 kB / 331 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.353e-05/0.01234, allocations: 6.875 kB / 331.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.01285, allocations: 68.09 kB / 331.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007367/0.01359, allocations: 253.8 kB / 331.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.01369, allocations: 89.91 kB / 331.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.92e-05/0.01373, allocations: 3.828 kB / 331.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.01378, allocations: 14.3 kB / 331.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.01378, allocations: 0 / 331.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of Templates: time 0.004088/0.01786, allocations: 0.9871 MB / 332.5 MB, free: 11.42 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.54974826797843]