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.001071/0.001071, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001566/0.002637, allocations: 449.7 kB / 10.37 MB, free: 332 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.000884/0.000884, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001231/0.002115, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.8983/0.8983, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09211/0.9904, allocations: 52.49 MB / 238.3 MB, free: 4.426 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.523e-06/1.523e-06, allocations: 3.938 kB / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.501e-05, allocations: 7.859 kB / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002138/0.002153, allocations: 1.669 MB / 241.2 MB, free: 1.48 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005768/0.00273, allocations: 480.1 kB / 241.7 MB, free: 1.008 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.002796, allocations: 3.938 kB / 241.7 MB, free: 1.004 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.002831, allocations: 7.938 kB / 241.7 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.951e-05/0.0029, allocations: 19.86 kB / 241.7 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003187/0.006087, allocations: 43.81 kB / 241.8 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.006189, allocations: 47.8 kB / 241.8 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.667e-05/0.006265, allocations: 12.17 kB / 241.8 MB, free: 0.875 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.006366, allocations: 39.89 kB / 241.9 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.364e-05/0.00642, allocations: 11.98 kB / 241.9 MB, free: 0.8242 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.006443, allocations: 4 kB / 241.9 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.006454, allocations: 11.88 kB / 241.9 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.006489, allocations: 8 kB / 241.9 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.006515, allocations: 15.94 kB / 241.9 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.006617, allocations: 43.72 kB / 242 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.448e-05/0.006631, allocations: 0 / 242 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.006632, allocations: 0 / 242 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.006647, allocations: 0 / 242 MB, free: 0.7422 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.0003729/0.00702, allocations: 284.3 kB / 242.2 MB, free: 452 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.00705, allocations: 8.031 kB / 242.3 MB, free: 444 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.007082, allocations: 8.938 kB / 242.3 MB, free: 436 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.007241, allocations: 145.6 kB / 242.4 MB, free: 264 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.007251, allocations: 8.312 kB / 242.4 MB, free: 256 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.007259, allocations: 384 / 242.4 MB, free: 256 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.007431, allocations: 119.1 kB / 242.5 MB, free: 112 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.007438, allocations: 4.188 kB / 242.5 MB, free: 108 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.007446, allocations: 4.125 kB / 242.5 MB, free: 104 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.007451, allocations: 0 / 242.5 MB, free: 104 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.24e-05/0.007473, allocations: 11.94 kB / 242.5 MB, free: 92 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.007654, allocations: 162 kB / 242.7 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.048e-05/0.007714, allocations: 59.86 kB / 242.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.007739, allocations: 22.56 kB / 242.8 MB, free: 15.79 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.007759, allocations: 3.984 kB / 242.8 MB, free: 15.79 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.007782, allocations: 38.56 kB / 242.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.007783, allocations: 0 / 242.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000123/0.007906, allocations: 61.78 kB / 242.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.007956, allocations: 110.8 kB / 243 MB, free: 15.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.431e-05/0.00804, allocations: 137.6 kB / 243.1 MB, free: 15.4 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.00805, allocations: 25.7 kB / 243.2 MB, free: 15.37 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.339e-05/0.008083, allocations: 92.11 kB / 243.2 MB, free: 15.27 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.008095, allocations: 3.953 kB / 243.2 MB, free: 15.27 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.008121, allocations: 13.72 kB / 243.3 MB, free: 15.25 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.481e-05/0.008196, allocations: 314.8 kB / 243.6 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.872e-06/0.008203, allocations: 0 / 243.6 MB, free: 14.93 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-06/0.008211, allocations: 7.938 kB / 243.6 MB, free: 14.93 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.913e-05/0.00823, allocations: 8.922 kB / 243.6 MB, free: 14.91 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.008232, allocations: 0 / 243.6 MB, free: 14.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.973e-05/0.008272, allocations: 37.69 kB / 243.6 MB, free: 14.87 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.008282, allocations: 4 kB / 243.6 MB, free: 14.87 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.008287, allocations: 3.938 kB / 243.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.008296, allocations: 3.984 kB / 243.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.403e-05/0.00835, allocations: 4 kB / 243.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.008352, allocations: 0 / 243.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.008373, allocations: 8 kB / 243.6 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.008379, allocations: 4 kB / 243.7 MB, free: 14.84 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.008431, allocations: 120.7 kB / 243.8 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.008477, allocations: 45.62 kB / 243.8 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.008506, allocations: 19.86 kB / 243.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.008508, allocations: 0 / 243.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.00851, allocations: 0 / 243.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.008513, allocations: 0 / 243.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.008614, allocations: 73.88 kB / 243.9 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008615, allocations: 4 kB / 243.9 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.00865, allocations: 15.92 kB / 243.9 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.008675, allocations: 12.02 kB / 243.9 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.008678, allocations: 4 kB / 243.9 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.008682, allocations: 0 / 243.9 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.008684, allocations: 3.938 kB / 243.9 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008685, allocations: 0 / 243.9 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.144e-05/0.008757, allocations: 145.3 kB / 244.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.008767, allocations: 0 / 244.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.055e-05/0.008818, allocations: 11.92 kB / 244.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.008838, allocations: 3.938 kB / 244.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.008841, allocations: 0 / 244.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.541e-05/0.008876, allocations: 40.8 kB / 244.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008876, allocations: 0 / 244.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.009045, allocations: 4 kB / 244.1 MB, free: 14.28 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.726e-05/0.009122, allocations: 80.36 kB / 244.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.292e-05/0.009185, allocations: 20.84 kB / 244.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.00919, allocations: 0 / 244.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.145e-05/0.009201, allocations: 4.859 kB / 244.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.009431, allocations: 40.62 kB / 244.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007667/0.0102, allocations: 195.8 kB / 244.5 MB, free: 13.9 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.07e-05/0.01024, allocations: 63.34 kB / 244.5 MB, free: 13.82 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.039e-05/0.01026, allocations: 0 / 244.5 MB, free: 13.82 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/0.01031, allocations: 55.38 kB / 244.6 MB, free: 13.77 MB / 250.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01031, allocations: 0 / 244.6 MB, free: 13.77 MB / 250.7 MB Notification: Performance of Templates: time 0.005339/0.01565, allocations: 0.6743 MB / 245.3 MB, free: 13.11 MB / 250.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4816938331350684]