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.BackSample.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.001766/0.001766, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001901/0.001901, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.641/1.641, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [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.002159/0.002159, allocations: 75.81 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4038, allocations: 53.31 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003938/0.4078, allocations: 1.648 MB / 433.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.4093, allocations: 0.5842 MB / 434.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.4095, allocations: 3.938 kB / 434.3 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.623e-05/0.4096, allocations: 7.938 kB / 434.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.4098, allocations: 15.84 kB / 434.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.4102, allocations: 67.75 kB / 434.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.4104, allocations: 51.86 kB / 434.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.4106, allocations: 24.16 kB / 434.5 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.4108, allocations: 31.84 kB / 434.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.4109, allocations: 23.86 kB / 434.5 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.4109, allocations: 4 kB / 434.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.259e-05/0.4109, allocations: 8 kB / 434.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.132e-05/0.411, allocations: 23.91 kB / 434.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.914e-05/0.4111, allocations: 31.73 kB / 434.6 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.4113, allocations: 77.09 kB / 434.7 MB, free: 4.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.4113, allocations: 0 / 434.7 MB, free: 4.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.4113, allocations: 4 kB / 434.7 MB, free: 4.766 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.4114, allocations: 3.938 kB / 434.7 MB, free: 4.762 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008043/0.4122, allocations: 395 kB / 435 MB, free: 4.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.4122, allocations: 8.031 kB / 435.1 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/0.4124, allocations: 24.83 kB / 435.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.4129, allocations: 220.1 kB / 435.3 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.4129, allocations: 384 / 435.3 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.4129, allocations: 4.375 kB / 435.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.4133, allocations: 147 kB / 435.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4133, allocations: 0 / 435.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.4133, allocations: 4 kB / 435.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-06/0.4133, allocations: 0 / 435.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.947e-05/0.4134, allocations: 27.92 kB / 435.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.4139, allocations: 287.4 kB / 435.8 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.414, allocations: 98.36 kB / 435.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.243e-05/0.4141, allocations: 43.48 kB / 435.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.4142, allocations: 8 kB / 435.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4142, allocations: 30.56 kB / 435.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.4142, allocations: 0 / 435.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003741/0.4146, allocations: 102 kB / 436 MB, free: 3.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.4147, allocations: 144.5 kB / 436.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.4149, allocations: 153.7 kB / 436.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4149, allocations: 25.7 kB / 436.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.415, allocations: 96.12 kB / 436.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.415, allocations: 3.953 kB / 436.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.4151, allocations: 17.72 kB / 436.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.4152, allocations: 330.8 kB / 436.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.4153, allocations: 4 kB / 436.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.443e-05/0.4154, allocations: 53.14 kB / 436.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.4155, allocations: 61.08 kB / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4155, allocations: 128 / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001796/0.4157, allocations: 89.69 kB / 437 MB, free: 2.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4157, allocations: 8 kB / 437 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.4157, allocations: 4 kB / 437 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.4157, allocations: 3.984 kB / 437 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.4158, allocations: 19.94 kB / 437 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4158, allocations: 0 / 437 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.4159, allocations: 11.88 kB / 437 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.4159, allocations: 7.984 kB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.000125/0.416, allocations: 117.8 kB / 437.2 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.4162, allocations: 77.53 kB / 437.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.116e-05/0.4162, allocations: 15.83 kB / 437.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4162, allocations: 0 / 437.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4162, allocations: 3.984 kB / 437.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.4162, allocations: 4 kB / 437.3 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.4165, allocations: 181.5 kB / 437.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.4165, allocations: 0 / 437.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.156e-05/0.4166, allocations: 19.92 kB / 437.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4166, allocations: 0 / 437.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.4166, allocations: 4 kB / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4166, allocations: 4.094 kB / 437.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.4166, allocations: 3.984 kB / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.4168, allocations: 197.9 kB / 437.7 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.18e-05/0.4169, allocations: 93.05 kB / 437.7 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.4169, allocations: 8 kB / 437.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.417, allocations: 4 kB / 437.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.4171, allocations: 0 / 437.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.4171, allocations: 4 kB / 437.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.4172, allocations: 115.2 kB / 437.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4172, allocations: 0 / 437.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.4174, allocations: 8 kB / 437.9 MB, free: 1.09 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.000156/0.4176, allocations: 103.2 kB / 438 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.4178, allocations: 39.92 kB / 438 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.4178, allocations: 0 / 438 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.849e-05/0.4178, allocations: 15.92 kB / 438 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.4183, allocations: 48 kB / 438.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.4188, allocations: 226.2 kB / 438.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.4192, allocations: 0.6963 MB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.439e-05/0.4193, allocations: 8.656 kB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.4193, allocations: 11.44 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4193, allocations: 3.938 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Templates: time 0.004336/0.4236, allocations: 0.8673 MB / 439.9 MB, free: 15.02 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.133598096203059]