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.ShiftSample.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.001615/0.001615, allocations: 117 kB / 21.18 MB, free: 0.6289 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.00173/0.00173, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.466/1.466, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [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.003035/0.003035, allocations: 67.83 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3297, allocations: 53.32 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003259/0.333, allocations: 1.617 MB / 433.7 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3341, allocations: 0.5571 MB / 434.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.77e-05/0.3341, allocations: 7.938 kB / 434.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.005e-05/0.3342, allocations: 3.938 kB / 434.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.3343, allocations: 15.88 kB / 434.3 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.3346, allocations: 59.8 kB / 434.3 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.3348, allocations: 55.78 kB / 434.4 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.3349, allocations: 8.188 kB / 434.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.335, allocations: 27.91 kB / 434.4 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.3351, allocations: 19.86 kB / 434.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.3351, allocations: 4 kB / 434.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.815e-05/0.3351, allocations: 11.94 kB / 434.4 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.3352, allocations: 15.92 kB / 434.5 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.3352, allocations: 27.81 kB / 434.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.3354, allocations: 65.22 kB / 434.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3354, allocations: 0 / 434.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3354, allocations: 0 / 434.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.3354, allocations: 0 / 434.5 MB, free: 4.863 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.0005898/0.336, allocations: 387 kB / 434.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.336, allocations: 12.03 kB / 434.9 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.3362, allocations: 16.89 kB / 434.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.3365, allocations: 204.8 kB / 435.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.3365, allocations: 384 / 435.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.3365, allocations: 7.938 kB / 435.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.3368, allocations: 121.8 kB / 435.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.3368, allocations: 0 / 435.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.3368, allocations: 4 kB / 435.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3368, allocations: 0 / 435.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.144e-05/0.3369, allocations: 19.98 kB / 435.3 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.3372, allocations: 286.5 kB / 435.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.3374, allocations: 67.8 kB / 435.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.755e-05/0.3374, allocations: 30.62 kB / 435.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.3374, allocations: 8 kB / 435.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3375, allocations: 30.56 kB / 435.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3375, allocations: 0 / 435.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003012/0.3378, allocations: 93.44 kB / 435.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.413e-05/0.3379, allocations: 115.2 kB / 435.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.338, allocations: 141.7 kB / 436.1 MB, free: 3.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.338, allocations: 29.7 kB / 436.1 MB, free: 3.066 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/0.3381, allocations: 96.06 kB / 436.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.3381, allocations: 0 / 436.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.3381, allocations: 21.67 kB / 436.2 MB, free: 2.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3383, allocations: 318.8 kB / 436.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-05/0.3383, allocations: 8 kB / 436.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.529e-05/0.3384, allocations: 39.41 kB / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.961e-05/0.3385, allocations: 51.36 kB / 436.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3385, allocations: 4 kB / 436.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001479/0.3386, allocations: 69.55 kB / 436.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3387, allocations: 6.812 kB / 436.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3387, allocations: 0 / 436.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3387, allocations: 4 kB / 436.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.498e-05/0.3388, allocations: 11.98 kB / 436.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3388, allocations: 0 / 436.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.3388, allocations: 7.938 kB / 436.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.3388, allocations: 4.125 kB / 436.7 MB, free: 2.391 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 8.673e-05/0.3389, allocations: 113.8 kB / 436.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.857e-05/0.339, allocations: 65.53 kB / 436.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.339, allocations: 7.875 kB / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.339, allocations: 3.984 kB / 436.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.339, allocations: 0 / 436.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.339, allocations: 7.938 kB / 436.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.3392, allocations: 169.7 kB / 437.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3392, allocations: 8.062 kB / 437.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.3393, allocations: 7.984 kB / 437.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3393, allocations: 4 kB / 437.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3393, allocations: 0 / 437.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.3393, allocations: 7.875 kB / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3393, allocations: 0 / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.3395, allocations: 181.1 kB / 437.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/0.3396, allocations: 93.05 kB / 437.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.3396, allocations: 0 / 437.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/0.3397, allocations: 4 kB / 437.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.3397, allocations: 7.922 kB / 437.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.3397, allocations: 8 kB / 437.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.176e-05/0.3398, allocations: 109.3 kB / 437.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3398, allocations: 3.938 kB / 437.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000223/0.34, allocations: 8 kB / 437.5 MB, free: 1.492 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.0001184/0.3401, allocations: 111.1 kB / 437.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.3403, allocations: 31.92 kB / 437.6 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3403, allocations: 0 / 437.6 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.3403, allocations: 11.98 kB / 437.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.3407, allocations: 24.42 kB / 437.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.3411, allocations: 226 kB / 437.9 MB, free: 1.047 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.3414, allocations: 0.6924 MB / 438.6 MB, free: 336 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.3415, allocations: 11.44 kB / 438.6 MB, free: 324 kB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3415, allocations: 0 / 438.6 MB, free: 324 kB / 334.1 MB Notification: Performance of Templates: time 0.002564/0.344, allocations: 0.8739 MB / 439.5 MB, free: 15.45 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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: 6.7896168967708945]