Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001426/0.001426, allocations: 113 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 208.9 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 60.14 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3175, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002632/0.3202, allocations: 1.589 MB / 411.5 MB, free: 12 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009196/0.3211, allocations: 0.5492 MB / 412.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.342e-05/0.3212, allocations: 4 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.544e-05/0.3213, allocations: 7.875 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.3214, allocations: 7.922 kB / 412.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.3217, allocations: 71.69 kB / 412.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.641e-05/0.3218, allocations: 47.84 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3219, allocations: 20.17 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.3221, allocations: 27.86 kB / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.206e-05/0.3221, allocations: 15.88 kB / 412.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3222, allocations: 4 kB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.815e-05/0.3222, allocations: 15.97 kB / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.3223, allocations: 11.94 kB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.3223, allocations: 27.8 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.3225, allocations: 63.73 kB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3225, allocations: 0 / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3225, allocations: 0 / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3225, allocations: 3.938 kB / 412.4 MB, free: 15.13 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.0004611/0.323, allocations: 380.3 kB / 412.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.323, allocations: 8.031 kB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.3232, allocations: 24.73 kB / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.3234, allocations: 204 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.3234, allocations: 384 / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.3234, allocations: 15.92 kB / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.3237, allocations: 113.9 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3237, allocations: 3.984 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.3238, allocations: 4 kB / 413.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3238, allocations: 0 / 413.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.863e-05/0.3239, allocations: 27.92 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.3242, allocations: 274.6 kB / 413.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.3243, allocations: 71.78 kB / 413.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.589e-05/0.3244, allocations: 34.58 kB / 413.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.3244, allocations: 3.984 kB / 413.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.3244, allocations: 30.56 kB / 413.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3244, allocations: 4 kB / 413.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000269/0.3247, allocations: 85.52 kB / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.3248, allocations: 110.8 kB / 413.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.3249, allocations: 149.7 kB / 413.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.3249, allocations: 29.7 kB / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.325, allocations: 84.14 kB / 414 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.325, allocations: 12.22 kB / 414 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.3251, allocations: 25.7 kB / 414.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.3252, allocations: 314.8 kB / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.774e-05/0.3252, allocations: 11.98 kB / 414.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-05/0.3253, allocations: 31.42 kB / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.56e-05/0.3254, allocations: 51.36 kB / 414.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3254, allocations: 0 / 414.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001305/0.3255, allocations: 69.47 kB / 414.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3255, allocations: 6.969 kB / 414.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3256, allocations: 4 kB / 414.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3256, allocations: 4.125 kB / 414.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.3257, allocations: 19.92 kB / 414.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3257, allocations: 0 / 414.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.464e-05/0.3257, allocations: 11.88 kB / 414.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.3257, allocations: 0 / 414.6 MB, free: 12.66 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.174e-05/0.3258, allocations: 125.8 kB / 414.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.3259, allocations: 49.55 kB / 414.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.3259, allocations: 15.86 kB / 414.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.326, allocations: 4.062 kB / 414.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.326, allocations: 4 kB / 414.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.326, allocations: 3.938 kB / 414.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.3262, allocations: 169.7 kB / 414.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3262, allocations: 0 / 414.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-05/0.3262, allocations: 12.08 kB / 414.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3262, allocations: 3.984 kB / 415 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.3262, allocations: 0 / 415 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3263, allocations: 4 kB / 415 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3263, allocations: 0 / 415 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.3265, allocations: 185 kB / 415.1 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.3265, allocations: 89 kB / 415.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.3265, allocations: 11.98 kB / 415.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.3266, allocations: 4 kB / 415.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.3267, allocations: 7.938 kB / 415.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.3267, allocations: 4 kB / 415.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.776e-05/0.3268, allocations: 114.4 kB / 415.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.573e-06/0.3268, allocations: 0 / 415.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000248/0.327, allocations: 7.938 kB / 415.4 MB, free: 11.75 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 9.805e-05/0.3271, allocations: 95.25 kB / 415.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.3273, allocations: 39.91 kB / 415.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3273, allocations: 4.25 kB / 415.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.762e-05/0.3273, allocations: 4 kB / 415.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.3277, allocations: 34.19 kB / 415.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.3281, allocations: 210 kB / 415.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.3283, allocations: 0.7004 MB / 416.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.3284, allocations: 11.44 kB / 416.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3284, allocations: 0 / 416.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of Templates: time 0.002247/0.3306, allocations: 0.8618 MB / 417.3 MB, free: 9.727 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches