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.001522/0.001522, allocations: 108.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.002125/0.002125, allocations: 217.3 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.677/1.677, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.002304/0.002304, allocations: 71.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3124, allocations: 53.32 MB / 432.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003202/0.3156, allocations: 1.621 MB / 433.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3168, allocations: 0.5531 MB / 434.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.632e-05/0.3169, allocations: 0 / 434.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.82e-05/0.3169, allocations: 11.86 kB / 434.2 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.3171, allocations: 23.92 kB / 434.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.3174, allocations: 59.75 kB / 434.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.3176, allocations: 51.8 kB / 434.4 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3177, allocations: 12.17 kB / 434.4 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.3178, allocations: 27.91 kB / 434.4 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.399e-05/0.3179, allocations: 19.86 kB / 434.4 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.3179, allocations: 4 kB / 434.4 MB, free: 5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.233e-05/0.318, allocations: 4 kB / 434.4 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.318, allocations: 11.94 kB / 434.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.318, allocations: 31.8 kB / 434.5 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.3182, allocations: 69.16 kB / 434.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3182, allocations: 4 kB / 434.6 MB, free: 4.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3182, allocations: 0 / 434.6 MB, free: 4.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3182, allocations: 0 / 434.6 MB, free: 4.883 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.0005919/0.3188, allocations: 387 kB / 434.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3188, allocations: 8.031 kB / 434.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.319, allocations: 20.88 kB / 435 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.3193, allocations: 200.8 kB / 435.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3193, allocations: 4.375 kB / 435.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.3193, allocations: 3.938 kB / 435.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.3196, allocations: 117.8 kB / 435.3 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3196, allocations: 4 kB / 435.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3196, allocations: 3.938 kB / 435.3 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.3196, allocations: 4 kB / 435.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.467e-05/0.3197, allocations: 19.98 kB / 435.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.3201, allocations: 274.5 kB / 435.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3202, allocations: 75.78 kB / 435.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.882e-05/0.3203, allocations: 30.62 kB / 435.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.3203, allocations: 4 kB / 435.7 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.3203, allocations: 34.56 kB / 435.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.3203, allocations: 0 / 435.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002755/0.3206, allocations: 85.52 kB / 435.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/0.3207, allocations: 110.8 kB / 435.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.3209, allocations: 152.7 kB / 436.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3209, allocations: 29.7 kB / 436.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.3209, allocations: 96.08 kB / 436.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.3209, allocations: 3.984 kB / 436.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.321, allocations: 21.67 kB / 436.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3211, allocations: 314.8 kB / 436.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/0.3212, allocations: 11.98 kB / 436.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.3213, allocations: 35.42 kB / 436.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.3214, allocations: 47.36 kB / 436.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.3214, allocations: 4 kB / 436.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001433/0.3215, allocations: 61.62 kB / 436.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3215, allocations: 11.94 kB / 436.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3215, allocations: 3.984 kB / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3216, allocations: 0 / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.769e-05/0.3216, allocations: 12 kB / 436.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.3216, allocations: 4 kB / 436.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.364e-05/0.3217, allocations: 3.938 kB / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.3217, allocations: 7.984 kB / 436.7 MB, free: 2.418 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 9.316e-05/0.3218, allocations: 118 kB / 436.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-05/0.3219, allocations: 61.53 kB / 436.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.3219, allocations: 7.875 kB / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3219, allocations: 4 kB / 436.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3219, allocations: 0 / 436.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3219, allocations: 3.938 kB / 436.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.3221, allocations: 177.6 kB / 437.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3221, allocations: 0 / 437.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.307e-05/0.3222, allocations: 12 kB / 437.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3222, allocations: 4.062 kB / 437.1 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3222, allocations: 4 kB / 437.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3222, allocations: 3.938 kB / 437.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3222, allocations: 0 / 437.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.3224, allocations: 181.2 kB / 437.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.901e-05/0.3225, allocations: 105 kB / 437.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.3225, allocations: 0 / 437.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.3226, allocations: 4 kB / 437.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.3226, allocations: 3.938 kB / 437.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.3226, allocations: 0 / 437.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.151e-05/0.3227, allocations: 115.2 kB / 437.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3227, allocations: 3.938 kB / 437.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.3229, allocations: 8 kB / 437.5 MB, free: 1.512 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.0001194/0.3231, allocations: 103.2 kB / 437.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.3232, allocations: 31.91 kB / 437.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.3232, allocations: 4 kB / 437.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.179e-05/0.3233, allocations: 11.94 kB / 437.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.3236, allocations: 22.77 kB / 437.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.3241, allocations: 196.7 kB / 437.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.3245, allocations: 0.6963 MB / 438.6 MB, free: 396 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.554e-05/0.3245, allocations: 3.938 kB / 438.6 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.3246, allocations: 11.44 kB / 438.6 MB, free: 380 kB / 334.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3246, allocations: 0 / 438.6 MB, free: 380 kB / 334.1 MB Notification: Performance of Templates: time 0.003648/0.3282, allocations: 0.6647 MB / 439.2 MB, free: 15.71 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 -s cvode -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: 5.059034202247858]