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.001024/0.001024, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001442/0.002466, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006331/0.0006331, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008987/0.001532, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8249/0.8249, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1416/0.9665, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.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 1.683e-06/1.683e-06, allocations: 0 / 239.7 MB, free: 6.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.597e-05, allocations: 2.312 kB / 239.8 MB, free: 6.352 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.00279/0.002806, allocations: 1.696 MB / 241.4 MB, free: 4.664 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008997/0.003706, allocations: 0.567 MB / 242 MB, free: 4.094 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.41e-05/0.00378, allocations: 7.938 kB / 242 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.521e-05/0.003825, allocations: 3.938 kB / 242 MB, free: 4.082 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.003985, allocations: 25.17 kB / 242.1 MB, free: 4.059 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.004207, allocations: 71.72 kB / 242.1 MB, free: 3.988 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.00434, allocations: 79.77 kB / 242.2 MB, free: 3.91 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.601e-05/0.004416, allocations: 5.047 kB / 242.2 MB, free: 3.902 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.004564, allocations: 59.81 kB / 242.3 MB, free: 3.844 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.59e-05/0.00463, allocations: 25 kB / 242.3 MB, free: 3.816 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.004657, allocations: 8 kB / 242.3 MB, free: 3.809 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.571e-05/0.004673, allocations: 4 kB / 242.3 MB, free: 3.805 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.004721, allocations: 23.05 kB / 242.3 MB, free: 3.785 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.004761, allocations: 19.88 kB / 242.3 MB, free: 3.766 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.004885, allocations: 55.77 kB / 242.4 MB, free: 3.711 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.004893, allocations: 0 / 242.4 MB, free: 3.711 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004893, allocations: 0 / 242.4 MB, free: 3.711 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.004903, allocations: 0 / 242.4 MB, free: 3.711 MB / 234.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.0004798/0.005383, allocations: 324.1 kB / 242.7 MB, free: 3.371 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.005414, allocations: 8.031 kB / 242.7 MB, free: 3.363 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.005456, allocations: 14.23 kB / 242.7 MB, free: 3.352 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.005646, allocations: 154.5 kB / 242.9 MB, free: 3.176 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.005667, allocations: 4.375 kB / 242.9 MB, free: 3.172 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.005684, allocations: 8.375 kB / 242.9 MB, free: 3.164 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.005991, allocations: 190 kB / 243.1 MB, free: 2.957 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.006, allocations: 192 / 243.1 MB, free: 2.957 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.006012, allocations: 9.344 kB / 243.1 MB, free: 2.949 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.006019, allocations: 3.938 kB / 243.1 MB, free: 2.945 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.865e-05/0.006068, allocations: 19.92 kB / 243.1 MB, free: 2.926 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.006267, allocations: 162.9 kB / 243.3 MB, free: 2.746 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.258e-05/0.006359, allocations: 73.44 kB / 243.3 MB, free: 2.648 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.006407, allocations: 42.8 kB / 243.4 MB, free: 2.598 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.006426, allocations: 0 / 243.4 MB, free: 2.598 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.006453, allocations: 38.56 kB / 243.4 MB, free: 2.551 MB / 234.7 MB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.006454, allocations: 0 / 243.4 MB, free: 2.551 MB / 234.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001904/0.006645, allocations: 90.17 kB / 243.5 MB, free: 2.457 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.00671, allocations: 127.3 kB / 243.6 MB, free: 2.309 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.734e-05/0.006798, allocations: 135.9 kB / 243.8 MB, free: 2.168 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.00681, allocations: 25.7 kB / 243.8 MB, free: 2.137 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.006843, allocations: 88.12 kB / 243.9 MB, free: 2.047 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.006861, allocations: 11.94 kB / 243.9 MB, free: 2.035 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.006896, allocations: 21.67 kB / 243.9 MB, free: 2.008 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.73e-05/0.006983, allocations: 326.8 kB / 244.2 MB, free: 1.68 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.006996, allocations: 1.469 kB / 244.2 MB, free: 1.68 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.045e-05/0.007026, allocations: 35.41 kB / 244.3 MB, free: 1.633 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.104e-05/0.007077, allocations: 40.58 kB / 244.3 MB, free: 1.582 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.00708, allocations: 0.5625 kB / 244.3 MB, free: 1.582 MB / 234.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.569e-05/0.007175, allocations: 63.2 kB / 244.4 MB, free: 1.516 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.007188, allocations: 4 kB / 244.4 MB, free: 1.512 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.007192, allocations: 4 kB / 244.4 MB, free: 1.508 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.007205, allocations: 5.125 kB / 244.4 MB, free: 1.504 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-05/0.007292, allocations: 19.98 kB / 244.4 MB, free: 1.484 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.007295, allocations: 0 / 244.4 MB, free: 1.484 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.447e-05/0.00733, allocations: 0.9688 kB / 244.4 MB, free: 1.484 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.007335, allocations: 4.5 kB / 244.4 MB, free: 1.48 MB / 234.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.361e-05/0.007409, allocations: 116.7 kB / 244.5 MB, free: 1.355 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.007516, allocations: 66.61 kB / 244.6 MB, free: 1.285 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.67e-05/0.007553, allocations: 20.45 kB / 244.6 MB, free: 1.258 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.007558, allocations: 8.438 kB / 244.6 MB, free: 1.25 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.00756, allocations: 0 / 244.6 MB, free: 1.25 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.007563, allocations: 1.625 kB / 244.6 MB, free: 1.25 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.00769, allocations: 81.88 kB / 244.7 MB, free: 1.152 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.007692, allocations: 0 / 244.7 MB, free: 1.152 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.007801, allocations: 23.92 kB / 244.7 MB, free: 1.129 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.007848, allocations: 24.67 kB / 244.7 MB, free: 1.105 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.007853, allocations: 4 kB / 244.7 MB, free: 1.102 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.007861, allocations: 4.188 kB / 244.8 MB, free: 1.098 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.007865, allocations: 7.938 kB / 244.8 MB, free: 1.09 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.007866, allocations: 0 / 244.8 MB, free: 1.09 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.446e-05/0.00796, allocations: 149.2 kB / 244.9 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.007979, allocations: 0 / 244.9 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.008066, allocations: 11.98 kB / 244.9 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.008089, allocations: 7.938 kB / 244.9 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.008097, allocations: 3.938 kB / 244.9 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.211e-05/0.008129, allocations: 20.84 kB / 244.9 MB, free: 0.875 MB / 234.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.008129, allocations: 4 kB / 245 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002053/0.008334, allocations: 12 kB / 245 MB, free: 0.8594 MB / 234.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.789e-05/0.008422, allocations: 88.44 kB / 245.1 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.766e-05/0.00852, allocations: 40.77 kB / 245.1 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.008526, allocations: 4 kB / 245.1 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.111e-05/0.008547, allocations: 8.797 kB / 245.1 MB, free: 0.707 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.008873, allocations: 135.3 kB / 245.2 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.009928, allocations: 245.6 kB / 245.5 MB, free: 292 kB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.023e-05/0.009978, allocations: 79.27 kB / 245.6 MB, free: 192 kB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.034e-05/0.01001, allocations: 4.734 kB / 245.6 MB, free: 188 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.502e-05/0.01008, allocations: 63.36 kB / 245.6 MB, free: 124 kB / 234.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01008, allocations: 0 / 245.6 MB, free: 124 kB / 234.7 MB Notification: Performance of Templates: time 0.00333/0.01341, allocations: 1.039 MB / 246.7 MB, free: 15.11 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.137462127022445]