Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.001158/0.001158, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001594/0.002752, allocations: 449.7 kB / 10.37 MB, free: 324 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.001078/0.001078, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.002379, allocations: 455.6 kB / 11.71 MB, free: 2.457 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.071/1.071, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1044/1.175, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.262e-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.SubSample): time 0.002462/0.002484, allocations: 1.689 MB / 246.2 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000729/0.003213, allocations: 0.5421 MB / 246.8 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.65e-05/0.00328, allocations: 3.938 kB / 246.8 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.897e-05/0.003319, allocations: 7.922 kB / 246.8 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.003422, allocations: 11.88 kB / 246.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.003625, allocations: 59.73 kB / 246.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.566e-05/0.003721, allocations: 47.8 kB / 246.9 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.313e-05/0.003794, allocations: 16.16 kB / 246.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.003917, allocations: 43.89 kB / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.359e-05/0.00398, allocations: 19.92 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.003994, allocations: 0 / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.134e-05/0.004046, allocations: 11.94 kB / 247 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.286e-05/0.004078, allocations: 11.94 kB / 247 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.004097, allocations: 11.94 kB / 247 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.004206, allocations: 43.77 kB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.454e-05/0.004221, allocations: 0 / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004222, allocations: 4 kB / 247 MB, free: 11.78 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.004235, allocations: 0 / 247 MB, free: 11.78 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003688/0.004603, allocations: 300.2 kB / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.004634, allocations: 12.03 kB / 247.4 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.004771, allocations: 90.03 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.004928, allocations: 150.1 kB / 247.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.004938, allocations: 8.375 kB / 247.6 MB, free: 11.17 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-06/0.004944, allocations: 384 / 247.6 MB, free: 11.17 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.005103, allocations: 118.9 kB / 247.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.00511, allocations: 0 / 247.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.005116, allocations: 0 / 247.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.005121, allocations: 0 / 247.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.077e-05/0.005142, allocations: 7.938 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.005344, allocations: 166 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.06e-05/0.005405, allocations: 63.78 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.005428, allocations: 18.64 kB / 248 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.005445, allocations: 4 kB / 248 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.005467, allocations: 38.5 kB / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.005467, allocations: 0 / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001214/0.005589, allocations: 57.56 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.005638, allocations: 110.8 kB / 248.2 MB, free: 10.47 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.874e-05/0.005716, allocations: 137.8 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.005725, allocations: 25.7 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.005756, allocations: 88.14 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.005769, allocations: 8.266 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.005798, allocations: 25.69 kB / 248.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.017e-05/0.005868, allocations: 314.8 kB / 248.8 MB, free: 9.852 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.662e-06/0.005874, allocations: 0 / 248.8 MB, free: 9.852 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-06/0.005882, allocations: 7.938 kB / 248.8 MB, free: 9.844 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.169e-05/0.005903, allocations: 12.84 kB / 248.8 MB, free: 9.828 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005905, allocations: 0 / 248.8 MB, free: 9.828 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.457e-05/0.00595, allocations: 33.64 kB / 248.8 MB, free: 9.789 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.005962, allocations: 15.22 kB / 248.8 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.005966, allocations: 0 / 248.8 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-06/0.005975, allocations: 4.094 kB / 248.8 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.274e-05/0.006027, allocations: 7.984 kB / 248.8 MB, free: 9.766 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-06/0.006029, allocations: 0 / 248.8 MB, free: 9.766 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.643e-05/0.006046, allocations: 0 / 248.8 MB, free: 9.766 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.00605, allocations: 0 / 248.8 MB, free: 9.766 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.254e-05/0.006103, allocations: 112.7 kB / 248.9 MB, free: 9.645 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.006148, allocations: 49.56 kB / 249 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.006179, allocations: 15.95 kB / 249 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.006181, allocations: 0 / 249 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.006184, allocations: 4 kB / 249 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.006186, allocations: 4.062 kB / 249 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.006291, allocations: 73.88 kB / 249.1 MB, free: 9.477 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.006293, allocations: 0 / 249.1 MB, free: 9.477 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.006329, allocations: 11.94 kB / 249.1 MB, free: 9.465 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.006361, allocations: 23.86 kB / 249.1 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.006363, allocations: 0 / 249.1 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.006367, allocations: 0 / 249.1 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.006369, allocations: 4 kB / 249.1 MB, free: 9.438 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.00637, allocations: 0 / 249.1 MB, free: 9.438 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.451e-05/0.006444, allocations: 141.3 kB / 249.3 MB, free: 9.277 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.006457, allocations: 11.97 kB / 249.3 MB, free: 9.266 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.786e-05/0.006504, allocations: 0 / 249.3 MB, free: 9.266 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.006524, allocations: 4 kB / 249.3 MB, free: 9.262 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.006529, allocations: 3.984 kB / 249.3 MB, free: 9.258 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.613e-05/0.006555, allocations: 32.77 kB / 249.3 MB, free: 9.223 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006555, allocations: 0 / 249.3 MB, free: 9.223 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001672/0.006723, allocations: 7.953 kB / 249.3 MB, free: 9.215 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 7.236e-05/0.006795, allocations: 80.42 kB / 249.4 MB, free: 9.125 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.38e-05/0.006849, allocations: 16.84 kB / 249.4 MB, free: 9.105 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.006854, allocations: 4 kB / 249.4 MB, free: 9.102 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.189e-05/0.006865, allocations: 8.797 kB / 249.4 MB, free: 9.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.007095, allocations: 28.8 kB / 249.5 MB, free: 9.059 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008474/0.007942, allocations: 191.7 kB / 249.6 MB, free: 8.84 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.648e-05/0.007988, allocations: 63.34 kB / 249.7 MB, free: 8.758 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.879e-05/0.008017, allocations: 12.3 kB / 249.7 MB, free: 8.746 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/0.008078, allocations: 59.38 kB / 249.8 MB, free: 8.688 MB / 250.7 MB Notification: Performance of SimCode: time 6.82e-07/0.008079, allocations: 0 / 249.8 MB, free: 8.688 MB / 250.7 MB Notification: Performance of Templates: time 0.002403/0.01048, allocations: 0.6746 MB / 250.5 MB, free: 8.031 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.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.506582248955965]