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.001866/0.001866, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002207/0.002207, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.89 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3328, allocations: 50.54 MB / 408.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003278/0.3362, allocations: 1.569 MB / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.3374, allocations: 0.5491 MB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.927e-05/0.3375, allocations: 0 / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.666e-05/0.3376, allocations: 3.938 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.3378, allocations: 15.88 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.3381, allocations: 67.75 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.3383, allocations: 47.78 kB / 411.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.3384, allocations: 16.17 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.3385, allocations: 23.92 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.143e-05/0.3386, allocations: 19.86 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.3386, allocations: 4 kB / 411.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.784e-05/0.3387, allocations: 12 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.3387, allocations: 23.91 kB / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.3388, allocations: 23.81 kB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.339, allocations: 58.69 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.339, allocations: 3.938 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.339, allocations: 0 / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.339, allocations: 4 kB / 411.2 MB, free: 15.05 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.0006224/0.3396, allocations: 379 kB / 411.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.3397, allocations: 16.02 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.3397, allocations: 34.75 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.3399, allocations: 20.88 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.3402, allocations: 200.8 kB / 411.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3403, allocations: 8.109 kB / 411.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.3403, allocations: 4 kB / 411.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.3406, allocations: 121 kB / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.3406, allocations: 0 / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.3406, allocations: 0 / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3406, allocations: 0 / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.332e-05/0.3407, allocations: 19.92 kB / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.3411, allocations: 261.8 kB / 412.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.784e-05/0.3412, allocations: 49.16 kB / 412.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.3413, allocations: 21.77 kB / 412.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.3413, allocations: 0 / 412.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.3414, allocations: 38.5 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 5e-06/0.3414, allocations: 4 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002586/0.3416, allocations: 65.56 kB / 412.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.3417, allocations: 81.11 kB / 412.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.3419, allocations: 152.7 kB / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.3419, allocations: 33.64 kB / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.342, allocations: 88.09 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.342, allocations: 256 / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.3421, allocations: 21.72 kB / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3422, allocations: 322.8 kB / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.427e-05/0.3423, allocations: 4 kB / 413.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.309e-05/0.3423, allocations: 21.64 kB / 413.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.671e-05/0.3424, allocations: 33.77 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3424, allocations: 0 / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001256/0.3426, allocations: 57.58 kB / 413.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.3426, allocations: 8 kB / 413.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3426, allocations: 0 / 413.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3426, allocations: 0 / 413.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.3427, allocations: 7.984 kB / 413.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3427, allocations: 3.938 kB / 413.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.841e-05/0.3428, allocations: 4.062 kB / 413.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.3428, allocations: 4 kB / 413.3 MB, free: 12.73 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 0.0001018/0.3429, allocations: 117.8 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.832e-05/0.343, allocations: 41.59 kB / 413.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/0.343, allocations: 11.88 kB / 413.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.343, allocations: 0 / 413.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.3431, allocations: 7.922 kB / 413.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3431, allocations: 4 kB / 413.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.3433, allocations: 165.7 kB / 413.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3433, allocations: 4.031 kB / 413.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.3433, allocations: 4 kB / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3434, allocations: 4 kB / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3434, allocations: 0 / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3434, allocations: 0 / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3434, allocations: 3.938 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.3436, allocations: 168.3 kB / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.061e-05/0.3437, allocations: 89.05 kB / 413.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.3437, allocations: 0 / 413.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.259e-05/0.3438, allocations: 12 kB / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.3438, allocations: 3.938 kB / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.3438, allocations: 3.984 kB / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.805e-05/0.3439, allocations: 110.6 kB / 414 MB, free: 11.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3439, allocations: 3.938 kB / 414 MB, free: 11.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002293/0.3442, allocations: 4 kB / 414 MB, free: 11.88 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.0005485/0.3447, allocations: 0.6937 MB / 414.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.3449, allocations: 20.08 kB / 414.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.3449, allocations: 4.062 kB / 414.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.423e-05/0.345, allocations: 15.92 kB / 414.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.3454, allocations: 30.06 kB / 414.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.3469, allocations: 1.324 MB / 416.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.3473, allocations: 0.6924 MB / 416.8 MB, free: 8.961 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.012e-05/0.3474, allocations: 7.984 kB / 416.8 MB, free: 8.953 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.3475, allocations: 15.42 kB / 416.8 MB, free: 8.938 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3475, allocations: 0 / 416.8 MB, free: 8.938 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.3716, allocations: 1.639 MB / 418.5 MB, free: 7.41 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.713/9.085, allocations: 8.891 kB / 418.5 MB, free: 7.406 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.1.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