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.00107/0.00107, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001582/0.002652, allocations: 449.7 kB / 10.37 MB, free: 328 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.001135/0.001135, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001318/0.002452, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.078/1.078, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09584/1.174, allocations: 53.65 MB / 243.3 MB, free: 15.59 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 1.623e-06/1.623e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.564e-05, allocations: 6.25 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003065/0.003091, allocations: 1.724 MB / 246.2 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.004166, allocations: 0.6269 MB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.655e-05/0.004263, allocations: 11.94 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.153e-05/0.004315, allocations: 7.875 kB / 246.9 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.004504, allocations: 31.72 kB / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.004777, allocations: 83.69 kB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.004921, allocations: 79.72 kB / 247.1 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.048e-05/0.005011, allocations: 11.98 kB / 247.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.005194, allocations: 51.83 kB / 247.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.581e-05/0.005269, allocations: 27.95 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.00529, allocations: 4 kB / 247.2 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.58e-05/0.005355, allocations: 8 kB / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.005403, allocations: 27.88 kB / 247.2 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.005439, allocations: 15.94 kB / 247.2 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.0056, allocations: 63.69 kB / 247.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.459e-05/0.005614, allocations: 0 / 247.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005615, allocations: 0 / 247.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.005632, allocations: 0 / 247.3 MB, free: 11.54 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.000545/0.006177, allocations: 324.1 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.006221, allocations: 8.031 kB / 247.6 MB, free: 11.19 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.006407, allocations: 102 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.006611, allocations: 157.2 kB / 247.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.006634, allocations: 4.375 kB / 247.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.006647, allocations: 12.31 kB / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.006941, allocations: 187 kB / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.006951, allocations: 3.938 kB / 248.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.00696, allocations: 0 / 248.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.413e-06/0.006966, allocations: 0 / 248.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.343e-05/0.00702, allocations: 27.92 kB / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.007247, allocations: 166 kB / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.335e-05/0.00734, allocations: 71.66 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.007382, allocations: 34.89 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.007407, allocations: 7.984 kB / 248.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.007433, allocations: 46.44 kB / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.007435, allocations: 0 / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001833/0.007618, allocations: 85.61 kB / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.007689, allocations: 114.7 kB / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.837e-05/0.007787, allocations: 138.6 kB / 248.8 MB, free: 9.883 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.0078, allocations: 29.7 kB / 248.8 MB, free: 9.848 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.007832, allocations: 88.06 kB / 248.9 MB, free: 9.758 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.007855, allocations: 15.89 kB / 248.9 MB, free: 9.742 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.007889, allocations: 17.72 kB / 248.9 MB, free: 9.719 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.007988, allocations: 322.8 kB / 249.2 MB, free: 9.395 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.008002, allocations: 8.125 kB / 249.2 MB, free: 9.387 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.031e-05/0.008033, allocations: 31.42 kB / 249.3 MB, free: 9.344 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.36e-05/0.008086, allocations: 39.36 kB / 249.3 MB, free: 9.293 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.008089, allocations: 0 / 249.3 MB, free: 9.293 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.025e-05/0.008179, allocations: 65.55 kB / 249.4 MB, free: 9.223 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.008193, allocations: 4 kB / 249.4 MB, free: 9.219 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.008198, allocations: 4.125 kB / 249.4 MB, free: 9.215 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.008209, allocations: 4 kB / 249.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.134e-05/0.008291, allocations: 11.94 kB / 249.4 MB, free: 9.199 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.008296, allocations: 3.984 kB / 249.4 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.592e-05/0.008332, allocations: 11.94 kB / 249.4 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.008337, allocations: 0 / 249.4 MB, free: 9.184 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 7.004e-05/0.008407, allocations: 112.7 kB / 249.5 MB, free: 9.062 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.585e-05/0.008503, allocations: 73.55 kB / 249.6 MB, free: 8.984 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.552e-05/0.008538, allocations: 16.47 kB / 249.6 MB, free: 8.965 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.008541, allocations: 0 / 249.6 MB, free: 8.965 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.008547, allocations: 12.59 kB / 249.6 MB, free: 8.953 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.008551, allocations: 4 kB / 249.6 MB, free: 8.949 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.008678, allocations: 77.83 kB / 249.7 MB, free: 8.855 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.008681, allocations: 0 / 249.7 MB, free: 8.855 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.55e-05/0.008776, allocations: 27.98 kB / 249.7 MB, free: 8.828 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.008821, allocations: 23.88 kB / 249.7 MB, free: 8.805 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.008824, allocations: 3.938 kB / 249.7 MB, free: 8.801 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.008831, allocations: 0 / 249.7 MB, free: 8.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.008833, allocations: 4 kB / 249.7 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.008836, allocations: 3.938 kB / 249.7 MB, free: 8.793 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.008939, allocations: 153.2 kB / 249.9 MB, free: 8.621 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.00896, allocations: 3.938 kB / 249.9 MB, free: 8.617 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.009038, allocations: 7.984 kB / 249.9 MB, free: 8.609 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.009065, allocations: 0 / 249.9 MB, free: 8.609 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.009075, allocations: 8 kB / 249.9 MB, free: 8.602 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.795e-05/0.009113, allocations: 23.84 kB / 249.9 MB, free: 8.578 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009113, allocations: 0 / 249.9 MB, free: 8.578 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002187/0.009332, allocations: 16 kB / 250 MB, free: 8.562 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.0001218/0.009454, allocations: 88.28 kB / 250 MB, free: 8.465 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.009558, allocations: 48.8 kB / 250.1 MB, free: 8.414 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.009565, allocations: 4 kB / 250.1 MB, free: 8.41 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.542e-05/0.00958, allocations: 8.859 kB / 250.1 MB, free: 8.398 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.009887, allocations: 54.5 kB / 250.2 MB, free: 8.348 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.01095, allocations: 245.6 kB / 250.4 MB, free: 8.074 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.139e-05/0.011, allocations: 71.33 kB / 250.5 MB, free: 7.984 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.782e-05/0.01104, allocations: 12.8 kB / 250.5 MB, free: 7.973 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.196e-05/0.01111, allocations: 63.36 kB / 250.5 MB, free: 7.91 MB / 250.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01111, allocations: 0 / 250.5 MB, free: 7.91 MB / 250.7 MB Notification: Performance of Templates: time 0.003937/0.01505, allocations: 1.037 MB / 251.6 MB, free: 6.895 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4729765001684427]