Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_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.001275/0.001276, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 202 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.467/1.467, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.404, allocations: 50.55 MB / 408.7 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002769/0.4069, allocations: 1.566 MB / 410.3 MB, free: 128 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.408, allocations: 0.5492 MB / 410.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.502e-05/0.4081, allocations: 0 / 410.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.243e-05/0.4082, allocations: 3.938 kB / 410.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.4083, allocations: 11.88 kB / 410.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.4087, allocations: 59.81 kB / 410.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.4088, allocations: 51.78 kB / 411 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.4089, allocations: 16.17 kB / 411 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.4091, allocations: 31.86 kB / 411 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.837e-05/0.4091, allocations: 23.86 kB / 411.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.4092, allocations: 0 / 411.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.224e-05/0.4092, allocations: 8 kB / 411.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.57e-05/0.4093, allocations: 19.91 kB / 411.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.487e-05/0.4093, allocations: 27.81 kB / 411.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.4094, allocations: 63.73 kB / 411.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4095, allocations: 0 / 411.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4095, allocations: 0 / 411.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.4095, allocations: 0 / 411.2 MB, free: 15.26 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.0004997/0.41, allocations: 388.9 kB / 411.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.41, allocations: 8.031 kB / 411.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.707e-05/0.4101, allocations: 30.75 kB / 411.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.4102, allocations: 24.77 kB / 411.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.4105, allocations: 205.7 kB / 411.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.4105, allocations: 4.125 kB / 411.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.4106, allocations: 4 kB / 411.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.4108, allocations: 117 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.4109, allocations: 4 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.4109, allocations: 0 / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.4109, allocations: 4 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.639e-05/0.411, allocations: 15.98 kB / 412 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.4113, allocations: 265.7 kB / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.561e-05/0.4114, allocations: 41.22 kB / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.065e-05/0.4115, allocations: 25.7 kB / 412.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.4115, allocations: 4 kB / 412.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.4115, allocations: 30.56 kB / 412.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.4115, allocations: 0 / 412.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002366/0.4118, allocations: 73.52 kB / 412.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.4118, allocations: 81.11 kB / 412.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.412, allocations: 153.3 kB / 412.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.412, allocations: 25.7 kB / 412.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.4121, allocations: 84.14 kB / 412.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.4121, allocations: 8 kB / 412.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.4122, allocations: 13.88 kB / 412.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4123, allocations: 326.8 kB / 413.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.728e-05/0.4124, allocations: 4 kB / 413.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.125e-05/0.4124, allocations: 21.7 kB / 413.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.173e-05/0.4125, allocations: 33.58 kB / 413.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4125, allocations: 4.062 kB / 413.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000123/0.4126, allocations: 57.62 kB / 413.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4126, allocations: 4 kB / 413.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.4127, allocations: 3.984 kB / 413.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.4127, allocations: 0 / 413.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/0.4127, allocations: 11.98 kB / 413.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.4128, allocations: 7.938 kB / 413.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.311e-05/0.4128, allocations: 0 / 413.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.4128, allocations: 64 / 413.2 MB, free: 12.94 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.17e-05/0.4129, allocations: 129.8 kB / 413.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.413, allocations: 37.61 kB / 413.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.413, allocations: 7.875 kB / 413.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.413, allocations: 3.984 kB / 413.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.413, allocations: 7.938 kB / 413.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.413, allocations: 0 / 413.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.4132, allocations: 169.6 kB / 413.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4132, allocations: 3.938 kB / 413.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.4133, allocations: 15.97 kB / 413.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4133, allocations: 0 / 413.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.4133, allocations: 0 / 413.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4133, allocations: 0 / 413.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.4133, allocations: 3.938 kB / 413.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.4135, allocations: 160.3 kB / 413.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.246e-05/0.4136, allocations: 97.03 kB / 413.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.4136, allocations: 0 / 413.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.31e-05/0.4137, allocations: 4 kB / 413.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.4137, allocations: 7.922 kB / 413.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.4137, allocations: 4 kB / 413.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.145e-05/0.4138, allocations: 103.3 kB / 413.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4138, allocations: 3.938 kB / 414 MB, free: 12.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.414, allocations: 4 kB / 414 MB, free: 12.08 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.000427/0.4145, allocations: 0.6898 MB / 414.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.4146, allocations: 27.92 kB / 414.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4146, allocations: 160 / 414.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.4147, allocations: 11.98 kB / 414.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.415, allocations: 23.89 kB / 414.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.4163, allocations: 1.339 MB / 416 MB, free: 9.871 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.4166, allocations: 0.6885 MB / 416.7 MB, free: 9.156 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.197e-05/0.4166, allocations: 0 / 416.7 MB, free: 9.156 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.4167, allocations: 19.42 kB / 416.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4167, allocations: 0 / 416.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.4362, allocations: 1.658 MB / 418.4 MB, free: 7.598 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/8.691, allocations: 8 kB / 418.4 MB, free: 7.59 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches