Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001801/0.001801, allocations: 204.1 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.684/1.684, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002812/0.002812, allocations: 71.83 kB / 378.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4321, allocations: 53.31 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003239/0.4353, allocations: 1.614 MB / 433.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.4365, allocations: 0.5493 MB / 434.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.997e-05/0.4366, allocations: 0 / 434.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.535e-05/0.4366, allocations: 7.875 kB / 434.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.4368, allocations: 11.92 kB / 434.2 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.4372, allocations: 59.81 kB / 434.3 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.4373, allocations: 47.84 kB / 434.3 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.4374, allocations: 12.19 kB / 434.4 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.4376, allocations: 39.78 kB / 434.4 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.663e-05/0.4376, allocations: 19.86 kB / 434.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.4376, allocations: 4 kB / 434.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.949e-05/0.4377, allocations: 8 kB / 434.4 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.219e-05/0.4377, allocations: 11.98 kB / 434.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.4378, allocations: 35.73 kB / 434.5 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.438, allocations: 61.64 kB / 434.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.438, allocations: 0 / 434.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.438, allocations: 0 / 434.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.438, allocations: 4 kB / 434.5 MB, free: 4.914 MB / 334.1 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.0006192/0.4386, allocations: 383 kB / 434.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.4387, allocations: 11.97 kB / 434.9 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.4389, allocations: 16.89 kB / 434.9 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.4393, allocations: 200.8 kB / 435.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.4393, allocations: 4.375 kB / 435.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.4394, allocations: 11.94 kB / 435.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.4397, allocations: 109.9 kB / 435.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4397, allocations: 0 / 435.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.4398, allocations: 0 / 435.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.4398, allocations: 0 / 435.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.4399, allocations: 31.92 kB / 435.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.4404, allocations: 278.5 kB / 435.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.4405, allocations: 71.78 kB / 435.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.729e-05/0.4406, allocations: 30.62 kB / 435.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.4406, allocations: 0 / 435.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.4407, allocations: 38.5 kB / 435.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.4407, allocations: 3.938 kB / 435.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003317/0.441, allocations: 93.52 kB / 435.8 MB, free: 3.441 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.4411, allocations: 106.8 kB / 435.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.4413, allocations: 151.8 kB / 436 MB, free: 3.156 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.4413, allocations: 25.7 kB / 436.1 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.4414, allocations: 92.12 kB / 436.2 MB, free: 3.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.4414, allocations: 384 / 436.2 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.4415, allocations: 25.67 kB / 436.2 MB, free: 3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.4417, allocations: 322.8 kB / 436.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.4417, allocations: 4 kB / 436.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.035e-05/0.4418, allocations: 39.36 kB / 436.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.4419, allocations: 51.36 kB / 436.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4419, allocations: 0 / 436.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001454/0.442, allocations: 69.61 kB / 436.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.442, allocations: 8 kB / 436.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.442, allocations: 128 / 436.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4421, allocations: 4 kB / 436.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.206e-05/0.4422, allocations: 8 kB / 436.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/0.4422, allocations: 3.984 kB / 436.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.266e-05/0.4422, allocations: 7.938 kB / 436.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.4423, allocations: 4 kB / 436.7 MB, free: 2.449 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 0.0001227/0.4424, allocations: 117.8 kB / 436.8 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.014e-05/0.4425, allocations: 57.59 kB / 436.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.4425, allocations: 11.94 kB / 436.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.4425, allocations: 4 kB / 436.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4425, allocations: 0 / 436.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.4425, allocations: 7.922 kB / 436.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.4427, allocations: 173.6 kB / 437.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4427, allocations: 0 / 437.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.584e-05/0.4428, allocations: 15.92 kB / 437.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4428, allocations: 0 / 437.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.4428, allocations: 4 kB / 437.1 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4428, allocations: 0 / 437.1 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4428, allocations: 0 / 437.1 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.443, allocations: 185.2 kB / 437.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.036e-05/0.4431, allocations: 93.05 kB / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.4431, allocations: 7.938 kB / 437.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.4432, allocations: 4 kB / 437.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.4432, allocations: 11.88 kB / 437.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.4432, allocations: 3.984 kB / 437.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.799e-05/0.4433, allocations: 107.3 kB / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4433, allocations: 0 / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.4436, allocations: 4 kB / 437.5 MB, free: 1.551 MB / 334.1 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 0.0001458/0.4437, allocations: 111.2 kB / 437.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.4439, allocations: 28.11 kB / 437.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4439, allocations: 4.062 kB / 437.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.098e-05/0.4439, allocations: 11.98 kB / 437.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.4443, allocations: 23.27 kB / 437.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.4447, allocations: 196.2 kB / 437.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.4451, allocations: 0.6926 MB / 438.5 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.623e-05/0.4451, allocations: 8 kB / 438.6 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.4451, allocations: 11.44 kB / 438.6 MB, free: 416 kB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4451, allocations: 4 kB / 438.6 MB, free: 412 kB / 334.1 MB Notification: Performance of Templates: time 0.003787/0.4489, allocations: 0.6145 MB / 439.2 MB, free: 15.79 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0589390238747]