Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.0008259/0.0008259, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009124/0.001738, 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.000598/0.000598, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008324/0.00143, 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.8731/0.8731, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1499/1.023, allocations: 52.49 MB / 238.5 MB, free: 7.613 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 239.7 MB, free: 6.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.925e-05, allocations: 6.312 kB / 239.8 MB, free: 6.336 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003005/0.003024, allocations: 1.673 MB / 241.4 MB, free: 4.672 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007087/0.003733, allocations: 482.6 kB / 241.9 MB, free: 4.195 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.00381, allocations: 8.75 kB / 241.9 MB, free: 4.188 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.087e-05/0.003851, allocations: 3.938 kB / 241.9 MB, free: 4.184 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.569e-05/0.003926, allocations: 5.156 kB / 241.9 MB, free: 4.18 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.004144, allocations: 59.69 kB / 242 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.004253, allocations: 39.86 kB / 242 MB, free: 4.082 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.077e-05/0.004334, allocations: 17.14 kB / 242 MB, free: 4.066 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.004444, allocations: 31.91 kB / 242.1 MB, free: 4.035 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.815e-05/0.004502, allocations: 16.56 kB / 242.1 MB, free: 4.02 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.004524, allocations: 4 kB / 242.1 MB, free: 4.016 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.004537, allocations: 5.781 kB / 242.1 MB, free: 4.012 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.267e-05/0.00458, allocations: 15.94 kB / 242.1 MB, free: 3.996 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.004602, allocations: 11.94 kB / 242.1 MB, free: 3.984 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.004705, allocations: 35.78 kB / 242.2 MB, free: 3.949 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.141e-05/0.004716, allocations: 0.6562 kB / 242.2 MB, free: 3.949 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.004717, allocations: 0 / 242.2 MB, free: 3.949 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.004728, allocations: 0.6875 kB / 242.2 MB, free: 3.949 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004027/0.005131, allocations: 292.2 kB / 242.4 MB, free: 3.641 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.005165, allocations: 17.94 kB / 242.5 MB, free: 3.625 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.005202, allocations: 8.922 kB / 242.5 MB, free: 3.617 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.005378, allocations: 133.6 kB / 242.6 MB, free: 3.461 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.005389, allocations: 13.83 kB / 242.6 MB, free: 3.449 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.005405, allocations: 4.375 kB / 242.6 MB, free: 3.445 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.005597, allocations: 115.7 kB / 242.7 MB, free: 3.309 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.005604, allocations: 0.7812 kB / 242.7 MB, free: 3.309 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.005613, allocations: 4.125 kB / 242.7 MB, free: 3.305 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.005619, allocations: 0.5312 kB / 242.7 MB, free: 3.305 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.271e-05/0.005641, allocations: 17.67 kB / 242.7 MB, free: 3.289 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.005834, allocations: 162 kB / 242.9 MB, free: 3.109 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.006e-05/0.005904, allocations: 63.78 kB / 243 MB, free: 3.02 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.005932, allocations: 19.8 kB / 243 MB, free: 2.992 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.00595, allocations: 4 kB / 243 MB, free: 2.988 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.005972, allocations: 31.56 kB / 243 MB, free: 2.949 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.005974, allocations: 0 / 243 MB, free: 2.949 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001431/0.006117, allocations: 66.48 kB / 243.1 MB, free: 2.879 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.006171, allocations: 107.6 kB / 243.2 MB, free: 2.75 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.006274, allocations: 137.9 kB / 243.3 MB, free: 2.605 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.006286, allocations: 26.39 kB / 243.4 MB, free: 2.574 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.006321, allocations: 88.86 kB / 243.4 MB, free: 2.484 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.006337, allocations: 3.984 kB / 243.4 MB, free: 2.48 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.006367, allocations: 18.33 kB / 243.5 MB, free: 2.457 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.006453, allocations: 314.8 kB / 243.8 MB, free: 2.141 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-06/0.006461, allocations: 6.531 kB / 243.8 MB, free: 2.137 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-06/0.006468, allocations: 0 / 243.8 MB, free: 2.137 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.622e-05/0.006494, allocations: 16.78 kB / 243.8 MB, free: 2.117 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.006496, allocations: 0 / 243.8 MB, free: 2.117 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.367e-05/0.006549, allocations: 29.7 kB / 243.8 MB, free: 2.082 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.006563, allocations: 9.469 kB / 243.8 MB, free: 2.074 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.006568, allocations: 7.875 kB / 243.8 MB, free: 2.066 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.00658, allocations: 0 / 243.8 MB, free: 2.066 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.006641, allocations: 3.984 kB / 243.8 MB, free: 2.062 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.006645, allocations: 4.812 kB / 243.8 MB, free: 2.059 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.953e-05/0.006665, allocations: 0 / 243.8 MB, free: 2.059 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.006672, allocations: 5.078 kB / 243.9 MB, free: 2.055 MB / 234.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 6.18e-05/0.006734, allocations: 108.7 kB / 244 MB, free: 1.938 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.006794, allocations: 50.59 kB / 244 MB, free: 1.883 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.006827, allocations: 15.89 kB / 244 MB, free: 1.859 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.006829, allocations: 0.9062 kB / 244 MB, free: 1.859 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.006831, allocations: 0 / 244 MB, free: 1.859 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.006836, allocations: 4.5 kB / 244 MB, free: 1.855 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.006956, allocations: 77.88 kB / 244.1 MB, free: 1.758 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.006958, allocations: 0.8125 kB / 244.1 MB, free: 1.758 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.007005, allocations: 8 kB / 244.1 MB, free: 1.75 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.00704, allocations: 17.59 kB / 244.1 MB, free: 1.734 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.007042, allocations: 0 / 244.1 MB, free: 1.734 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.007048, allocations: 0 / 244.1 MB, free: 1.734 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.007052, allocations: 7.875 kB / 244.1 MB, free: 1.727 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.007054, allocations: 4.531 kB / 244.1 MB, free: 1.723 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.421e-05/0.007148, allocations: 145.2 kB / 244.3 MB, free: 1.559 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.007164, allocations: 12 kB / 244.3 MB, free: 1.547 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.924e-05/0.007223, allocations: 0 / 244.3 MB, free: 1.547 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.007246, allocations: 3.938 kB / 244.3 MB, free: 1.543 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.007253, allocations: 7.984 kB / 244.3 MB, free: 1.535 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.049e-05/0.007283, allocations: 20.84 kB / 244.3 MB, free: 1.512 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007284, allocations: 0 / 244.3 MB, free: 1.512 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001906/0.007474, allocations: 4 kB / 244.3 MB, free: 1.508 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: 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 8.136e-05/0.007556, allocations: 88.3 kB / 244.4 MB, free: 1.414 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 5.997e-05/0.007615, allocations: 20.88 kB / 244.4 MB, free: 1.391 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.007621, allocations: 3.984 kB / 244.4 MB, free: 1.387 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.842e-05/0.00764, allocations: 12.8 kB / 244.5 MB, free: 1.371 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.007923, allocations: 106 kB / 244.6 MB, free: 1.246 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000848/0.008771, allocations: 187.7 kB / 244.7 MB, free: 1.031 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.531e-05/0.008817, allocations: 63.78 kB / 244.8 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.846e-05/0.008845, allocations: 11.89 kB / 244.8 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/0.008908, allocations: 55.38 kB / 244.9 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of SimCode: time 7.82e-07/0.008909, allocations: 0 / 244.9 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of Templates: time 0.002626/0.01153, allocations: 0.6787 MB / 245.5 MB, free: 228 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.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.2410350553691387]