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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001192/0.001192, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001532/0.001532, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 55.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3867, allocations: 50.54 MB / 408.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003321/0.39, allocations: 1.585 MB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.3911, allocations: 0.5531 MB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.506e-05/0.3912, allocations: 4 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.845e-05/0.3913, allocations: 11.86 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.3914, allocations: 3.938 kB / 410.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.3918, allocations: 63.75 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.3919, allocations: 47.84 kB / 411 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.392, allocations: 20.17 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.3922, allocations: 27.86 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.024e-05/0.3923, allocations: 23.86 kB / 411.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.3923, allocations: 4 kB / 411.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.019e-05/0.3923, allocations: 7.984 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.459e-05/0.3924, allocations: 11.94 kB / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.3924, allocations: 31.8 kB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.3926, allocations: 59.73 kB / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3926, allocations: 0 / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3926, allocations: 0 / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.3926, allocations: 0 / 411.2 MB, free: 15.04 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.0005447/0.3932, allocations: 392.7 kB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3932, allocations: 8.031 kB / 411.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.066e-05/0.3933, allocations: 34.75 kB / 411.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.3934, allocations: 20.77 kB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.3937, allocations: 208 kB / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.3937, allocations: 8.109 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.3938, allocations: 12 kB / 411.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.3941, allocations: 105.9 kB / 412 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3941, allocations: 4 kB / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.3941, allocations: 0 / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3941, allocations: 0 / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.872e-05/0.3942, allocations: 27.92 kB / 412 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.3945, allocations: 278.5 kB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.3946, allocations: 67.84 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.722e-05/0.3947, allocations: 38.56 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.3947, allocations: 0 / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.3948, allocations: 34.56 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3948, allocations: 0 / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002589/0.395, allocations: 85.52 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.3951, allocations: 114.7 kB / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.3953, allocations: 145.7 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.3953, allocations: 33.64 kB / 412.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.3953, allocations: 92.5 kB / 412.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.3954, allocations: 7.906 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.3954, allocations: 17.72 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3956, allocations: 318.8 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.285e-05/0.3956, allocations: 8 kB / 413.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-05/0.3957, allocations: 35.42 kB / 413.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.92e-05/0.3958, allocations: 47.36 kB / 413.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3958, allocations: 4 kB / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001551/0.396, allocations: 69.52 kB / 413.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.396, allocations: 4 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.396, allocations: 8.125 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.396, allocations: 0 / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.515e-05/0.3961, allocations: 11.94 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3961, allocations: 3.938 kB / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.3962, allocations: 15.92 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.3962, allocations: 0 / 413.4 MB, free: 12.52 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.0001337/0.3963, allocations: 121.8 kB / 413.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/0.3964, allocations: 53.53 kB / 413.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.3965, allocations: 15.94 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3965, allocations: 0 / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3965, allocations: 7.938 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3965, allocations: 4.078 kB / 413.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.3967, allocations: 173.6 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.3967, allocations: 3.938 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.3967, allocations: 8 kB / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3968, allocations: 0 / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.3968, allocations: 3.984 kB / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3968, allocations: 4 kB / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3968, allocations: 7.938 kB / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.397, allocations: 177.1 kB / 414 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.3971, allocations: 89 kB / 414.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.3971, allocations: 4 kB / 414.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.3972, allocations: 4 kB / 414.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.3972, allocations: 11.94 kB / 414.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.3972, allocations: 0 / 414.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.092e-05/0.3973, allocations: 116.3 kB / 414.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3973, allocations: 0 / 414.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.3975, allocations: 4 kB / 414.2 MB, free: 11.61 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.0004663/0.398, allocations: 0.714 MB / 414.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.3982, allocations: 31.92 kB / 415 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3982, allocations: 0 / 415 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.535e-05/0.3982, allocations: 11.98 kB / 415 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.3986, allocations: 28.27 kB / 415 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.4001, allocations: 1.399 MB / 416.4 MB, free: 9.285 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.4005, allocations: 0.6924 MB / 417.1 MB, free: 8.566 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.632e-05/0.4005, allocations: 8.109 kB / 417.1 MB, free: 8.559 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.4006, allocations: 19.44 kB / 417.1 MB, free: 8.539 MB / 334.1 MB Notification: Performance of SimCode: time 1.783e-06/0.4006, allocations: 4 kB / 417.1 MB, free: 8.535 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/0.4207, allocations: 1.769 MB / 418.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.494, allocations: 15.53 kB / 418.9 MB, free: 6.871 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > 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