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.002033/0.002033, allocations: 121.4 kB / 19.17 MB, free: 3.852 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.002448/0.002448, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.565/1.565, allocations: 230.5 MB / 255.4 MB, free: 15.01 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.002079/0.002079, allocations: 79.81 kB / 374.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1221, allocations: 53.31 MB / 428.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003453/0.1256, allocations: 1.595 MB / 429.7 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1269, allocations: 0.561 MB / 430.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.127, allocations: 0 / 430.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.238e-05/0.1271, allocations: 11.92 kB / 430.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.1272, allocations: 19.86 kB / 430.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.1276, allocations: 67.8 kB / 430.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.1278, allocations: 47.8 kB / 430.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1279, allocations: 12.17 kB / 430.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.1281, allocations: 31.84 kB / 430.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.777e-05/0.1281, allocations: 19.86 kB / 430.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.1282, allocations: 4 kB / 430.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.967e-05/0.1282, allocations: 8 kB / 430.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.797e-05/0.1283, allocations: 15.92 kB / 430.5 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.648e-05/0.1283, allocations: 27.81 kB / 430.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.1285, allocations: 63.67 kB / 430.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1285, allocations: 0 / 430.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1285, allocations: 0 / 430.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1285, allocations: 0 / 430.6 MB, free: 1.848 MB / 350.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.0006128/0.1291, allocations: 383 kB / 430.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1292, allocations: 8.031 kB / 430.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.1294, allocations: 24.81 kB / 431 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.1297, allocations: 212.7 kB / 431.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1297, allocations: 384 / 431.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.1298, allocations: 7.938 kB / 431.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.1301, allocations: 113.9 kB / 431.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1301, allocations: 0 / 431.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.1301, allocations: 4 kB / 431.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1301, allocations: 0 / 431.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.539e-05/0.1302, allocations: 27.86 kB / 431.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.1306, allocations: 274.6 kB / 431.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.1308, allocations: 67.78 kB / 431.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.795e-05/0.1309, allocations: 30.62 kB / 431.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.1309, allocations: 4 kB / 431.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.1309, allocations: 42.48 kB / 431.7 MB, free: 476 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.1309, allocations: 0 / 431.7 MB, free: 476 kB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003273/0.1313, allocations: 89.52 kB / 431.8 MB, free: 380 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/0.1314, allocations: 102.8 kB / 431.9 MB, free: 252 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.1315, allocations: 150.9 kB / 432.1 MB, free: 92 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1315, allocations: 25.7 kB / 432.1 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2779/0.4094, allocations: 97 kB / 432.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.4094, allocations: 1.625 kB / 432.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.4095, allocations: 19.33 kB / 432.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.823e-05/0.4096, allocations: 319.5 kB / 432.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.714e-05/0.4097, allocations: 8.859 kB / 432.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.103e-05/0.4097, allocations: 32.3 kB / 432.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.4098, allocations: 46.34 kB / 432.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.4098, allocations: 0 / 432.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001802/0.41, allocations: 71.42 kB / 432.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.41, allocations: 9.125 kB / 432.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.41, allocations: 0.7812 kB / 432.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.4101, allocations: 2 kB / 432.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.569e-05/0.4102, allocations: 12.33 kB / 432.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.4102, allocations: 4.188 kB / 432.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.4e-05/0.4102, allocations: 11.45 kB / 432.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.4102, allocations: 2.531 kB / 432.7 MB, free: 10.89 MB / 350.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 7.92e-05/0.4103, allocations: 123.6 kB / 432.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.162e-05/0.4104, allocations: 51 kB / 432.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.4104, allocations: 12.7 kB / 432.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4104, allocations: 6 kB / 432.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4104, allocations: 0.6094 kB / 432.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4104, allocations: 1.344 kB / 432.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.4106, allocations: 171.2 kB / 433.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4106, allocations: 2.516 kB / 433.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.4107, allocations: 13.73 kB / 433.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4107, allocations: 2.75 kB / 433.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.4107, allocations: 1.594 kB / 433.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.4107, allocations: 6.688 kB / 433.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4107, allocations: 1.172 kB / 433.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.4109, allocations: 177.3 kB / 433.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-05/0.411, allocations: 91.52 kB / 433.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.411, allocations: 6.906 kB / 433.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.4111, allocations: 10.3 kB / 433.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.4111, allocations: 2.812 kB / 433.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.4111, allocations: 4.531 kB / 433.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.285e-05/0.4112, allocations: 111.1 kB / 433.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4112, allocations: 0 / 433.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.4114, allocations: 8.578 kB / 433.5 MB, free: 10.23 MB / 350.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.0001106/0.4115, allocations: 99.42 kB / 433.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.4117, allocations: 35.45 kB / 433.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4117, allocations: 0.6875 kB / 433.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.698e-05/0.4117, allocations: 7.969 kB / 433.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.4121, allocations: 32.72 kB / 433.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.4125, allocations: 209 kB / 433.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.4127, allocations: 0.6944 MB / 434.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.4127, allocations: 13.83 kB / 434.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4127, allocations: 0 / 434.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of Templates: time 0.002689/0.4154, allocations: 0.8688 MB / 435.5 MB, free: 9.246 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 7.300250662956387]