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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00167/0.00167, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001931/0.001931, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.571/1.571, allocations: 230.4 MB / 251.1 MB, free: 8.484 MB / 206.1 MB 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.001978/0.001978, allocations: 71.83 kB / 369 MB, free: 6.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.323, allocations: 53.32 MB / 422.3 MB, free: 7.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003244/0.3262, allocations: 1.59 MB / 423.9 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.3274, allocations: 0.5532 MB / 424.4 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.693e-05/0.3274, allocations: 0 / 424.4 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.582e-05/0.3275, allocations: 7.875 kB / 424.4 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.3276, allocations: 23.86 kB / 424.5 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.328, allocations: 67.12 kB / 424.5 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.3281, allocations: 51.78 kB / 424.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3282, allocations: 8.188 kB / 424.6 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.3283, allocations: 27.91 kB / 424.6 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.607e-05/0.3284, allocations: 19.86 kB / 424.6 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.3284, allocations: 4 kB / 424.6 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.187e-05/0.3285, allocations: 4 kB / 424.6 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.3285, allocations: 15.92 kB / 424.6 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.3286, allocations: 27.81 kB / 424.7 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.3287, allocations: 71.19 kB / 424.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3287, allocations: 0 / 424.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3287, allocations: 0 / 424.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.3287, allocations: 0 / 424.7 MB, free: 5.398 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.0006066/0.3293, allocations: 391 kB / 425.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.3294, allocations: 12.03 kB / 425.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.3295, allocations: 16.89 kB / 425.2 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.3299, allocations: 208.8 kB / 425.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.271e-06/0.3299, allocations: 384 / 425.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.3299, allocations: 7.938 kB / 425.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.3302, allocations: 109.9 kB / 425.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3302, allocations: 3.938 kB / 425.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3302, allocations: 8 kB / 425.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3302, allocations: 0 / 425.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.412e-05/0.3303, allocations: 19.98 kB / 425.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.3307, allocations: 282.5 kB / 425.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.3308, allocations: 67.8 kB / 425.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.579e-05/0.3309, allocations: 38.61 kB / 425.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3309, allocations: 0 / 425.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.331, allocations: 34.56 kB / 425.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.331, allocations: 0 / 425.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002876/0.3313, allocations: 93.44 kB / 426 MB, free: 3.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.398e-05/0.3313, allocations: 110.8 kB / 426.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.3315, allocations: 142.7 kB / 426.3 MB, free: 3.637 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.3315, allocations: 34.02 kB / 426.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.475e-05/0.3316, allocations: 96.12 kB / 426.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.3316, allocations: 0 / 426.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.3317, allocations: 21.67 kB / 426.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.3319, allocations: 318.8 kB / 426.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.3319, allocations: 8 kB / 426.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.633e-05/0.332, allocations: 35.42 kB / 426.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.3321, allocations: 51.36 kB / 426.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3321, allocations: 3.938 kB / 426.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001424/0.3322, allocations: 73.58 kB / 426.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3322, allocations: 4 kB / 426.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3322, allocations: 3.984 kB / 426.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3322, allocations: 4 kB / 426.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.613e-05/0.3323, allocations: 11.98 kB / 426.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3323, allocations: 0 / 426.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.3324, allocations: 11.94 kB / 426.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.3324, allocations: 0 / 426.9 MB, free: 2.918 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.0001182/0.3325, allocations: 113.9 kB / 427 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.152e-05/0.3326, allocations: 65.53 kB / 427.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.3326, allocations: 11.88 kB / 427.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.3326, allocations: 3.984 kB / 427.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3326, allocations: 0 / 427.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.3326, allocations: 7.938 kB / 427.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.3329, allocations: 169.6 kB / 427.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.3329, allocations: 4 kB / 427.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/0.3329, allocations: 11.98 kB / 427.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3329, allocations: 4 kB / 427.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.3329, allocations: 4.062 kB / 427.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3329, allocations: 0 / 427.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.3329, allocations: 4 kB / 427.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.3332, allocations: 181.1 kB / 427.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-05/0.3332, allocations: 92.98 kB / 427.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.3333, allocations: 4 kB / 427.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.3334, allocations: 4 kB / 427.6 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.3334, allocations: 11.92 kB / 427.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.3334, allocations: 4 kB / 427.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.714e-05/0.3335, allocations: 111 kB / 427.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3335, allocations: 0 / 427.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000231/0.3338, allocations: 8 kB / 427.7 MB, free: 2.008 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.0001224/0.3339, allocations: 99.23 kB / 427.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.334, allocations: 39.92 kB / 427.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.334, allocations: 0 / 427.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.3341, allocations: 11.92 kB / 427.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.3344, allocations: 27.95 kB / 427.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.3348, allocations: 188.7 kB / 428.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.3352, allocations: 0.6885 MB / 428.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.525e-05/0.3353, allocations: 4 kB / 428.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.3353, allocations: 15.42 kB / 428.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3353, allocations: 0 / 428.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of Templates: time 0.003435/0.3387, allocations: 0.6536 MB / 429.4 MB, free: 236 kB / 334.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/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] Reference file matches