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.001114/0.001114, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001539/0.002653, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009062/0.0009062, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002192, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.165/1.165, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1219/1.287, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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 2.675e-06/2.675e-06, allocations: 4 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.542e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002368/0.002394, allocations: 1.72 MB / 246.4 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000837/0.003231, allocations: 0.6385 MB / 247.1 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.908e-05/0.00332, allocations: 7.938 kB / 247.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.786e-05/0.003358, allocations: 7.875 kB / 247.1 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.003532, allocations: 27.78 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.003753, allocations: 79.66 kB / 247.2 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.003877, allocations: 83.7 kB / 247.3 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.693e-05/0.003964, allocations: 7.984 kB / 247.3 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.004117, allocations: 59.89 kB / 247.3 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.00418, allocations: 31.89 kB / 247.4 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.004203, allocations: 4 kB / 247.4 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.135e-05/0.004264, allocations: 8 kB / 247.4 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.004316, allocations: 19.92 kB / 247.4 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.004344, allocations: 15.94 kB / 247.4 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.004488, allocations: 67.64 kB / 247.5 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.004497, allocations: 0 / 247.5 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004498, allocations: 0 / 247.5 MB, free: 11.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.004509, allocations: 0 / 247.5 MB, free: 11.43 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.0004773/0.004986, allocations: 320.1 kB / 247.8 MB, free: 11.1 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.005025, allocations: 12.03 kB / 247.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.005231, allocations: 102 kB / 247.9 MB, free: 10.97 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.005411, allocations: 150.1 kB / 248.1 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.005436, allocations: 8.375 kB / 248.1 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.005449, allocations: 4.375 kB / 248.1 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.005704, allocations: 201.3 kB / 248.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.005713, allocations: 3.938 kB / 248.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.005722, allocations: 0 / 248.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.005731, allocations: 4 kB / 248.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.172e-05/0.005773, allocations: 23.92 kB / 248.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.005979, allocations: 162 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.515e-05/0.006064, allocations: 75.64 kB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.0061, allocations: 42.88 kB / 248.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.00613, allocations: 7.938 kB / 248.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.006155, allocations: 34.5 kB / 248.6 MB, free: 10.15 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.006157, allocations: 0 / 248.6 MB, free: 10.15 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001716/0.006328, allocations: 85.59 kB / 248.7 MB, free: 10.06 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.965e-05/0.006408, allocations: 114.8 kB / 248.8 MB, free: 9.926 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.178e-05/0.0065, allocations: 145.6 kB / 248.9 MB, free: 9.773 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.006512, allocations: 25.7 kB / 249 MB, free: 9.742 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.006545, allocations: 84.14 kB / 249.1 MB, free: 9.656 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.006567, allocations: 16 kB / 249.1 MB, free: 9.641 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.006599, allocations: 25.72 kB / 249.1 MB, free: 9.609 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.172e-05/0.00669, allocations: 318.8 kB / 249.4 MB, free: 9.289 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.006704, allocations: 4 kB / 249.4 MB, free: 9.285 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.689e-05/0.006731, allocations: 31.42 kB / 249.4 MB, free: 9.242 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/0.006778, allocations: 39.36 kB / 249.5 MB, free: 9.191 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.006781, allocations: 0 / 249.5 MB, free: 9.191 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.468e-05/0.006865, allocations: 69.55 kB / 249.5 MB, free: 9.117 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.00688, allocations: 4 kB / 249.5 MB, free: 9.113 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.006885, allocations: 0 / 249.5 MB, free: 9.113 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.0069, allocations: 7.938 kB / 249.6 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/0.006981, allocations: 11.98 kB / 249.6 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.006985, allocations: 7.938 kB / 249.6 MB, free: 9.086 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/0.007009, allocations: 3.938 kB / 249.6 MB, free: 9.082 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.007015, allocations: 4 kB / 249.6 MB, free: 9.078 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 0.002156/0.009172, allocations: 116.7 kB / 249.7 MB, free: 8.953 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.00931, allocations: 70.3 kB / 249.8 MB, free: 8.879 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.595e-05/0.009356, allocations: 24.45 kB / 249.8 MB, free: 8.855 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.009361, allocations: 4 kB / 249.8 MB, free: 8.852 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.009366, allocations: 4 kB / 249.8 MB, free: 8.848 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.00937, allocations: 0 / 249.8 MB, free: 8.848 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.009526, allocations: 77.83 kB / 249.9 MB, free: 8.754 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.009531, allocations: 4 kB / 249.9 MB, free: 8.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.009649, allocations: 23.92 kB / 249.9 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.009704, allocations: 19.88 kB / 249.9 MB, free: 8.707 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.009708, allocations: 0 / 249.9 MB, free: 8.707 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.009722, allocations: 8 kB / 249.9 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.009724, allocations: 4 kB / 249.9 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.009726, allocations: 0 / 249.9 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.009863, allocations: 141.3 kB / 250.1 MB, free: 8.535 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.009888, allocations: 7.938 kB / 250.1 MB, free: 8.527 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.304e-05/0.009971, allocations: 7.984 kB / 250.1 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.01, allocations: 3.984 kB / 250.1 MB, free: 8.516 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.01001, allocations: 4 kB / 250.1 MB, free: 8.512 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.439e-05/0.01006, allocations: 28.83 kB / 250.1 MB, free: 8.48 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01006, allocations: 4 kB / 250.1 MB, free: 8.477 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002261/0.01028, allocations: 11.94 kB / 250.1 MB, free: 8.465 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 0.0001481/0.01043, allocations: 100.4 kB / 250.2 MB, free: 8.355 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.01055, allocations: 32.78 kB / 250.3 MB, free: 8.32 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.01056, allocations: 7.938 kB / 250.3 MB, free: 8.312 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.25e-05/0.01058, allocations: 8.859 kB / 250.3 MB, free: 8.301 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.011, allocations: 143.1 kB / 250.4 MB, free: 8.145 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.01221, allocations: 257.9 kB / 250.7 MB, free: 7.859 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.244e-05/0.01227, allocations: 67.34 kB / 250.7 MB, free: 7.773 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.055e-05/0.01231, allocations: 4.484 kB / 250.7 MB, free: 7.77 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.941e-05/0.01241, allocations: 63.36 kB / 250.8 MB, free: 7.707 MB / 250.7 MB Notification: Performance of SimCode: time 9.71e-07/0.01241, allocations: 0 / 250.8 MB, free: 7.707 MB / 250.7 MB Notification: Performance of Templates: time 0.003822/0.01623, allocations: 1.041 MB / 251.8 MB, free: 6.691 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.826707494445145]