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.0007067/0.0007068, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000814/0.000814, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 227.8 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002478/0.0002477, allocations: 11.92 kB / 307.8 MB, free: 0.7031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08725/0.08751, allocations: 51.52 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.001672/0.08923, allocations: 1.281 MB / 360.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008927/0.09015, allocations: 0.5378 MB / 361.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.569e-05/0.09025, allocations: 4 kB / 361.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.09029, allocations: 7.875 kB / 361.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.09042, allocations: 7.922 kB / 361.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.09071, allocations: 51.89 kB / 361.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.92e-05/0.09081, allocations: 47.78 kB / 361.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.784e-05/0.09091, allocations: 20.17 kB / 361.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.09102, allocations: 27.91 kB / 361.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.286e-05/0.09108, allocations: 23.86 kB / 361.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.0911, allocations: 0 / 361.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.085e-05/0.09115, allocations: 4 kB / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.973e-05/0.09119, allocations: 15.88 kB / 361.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.09125, allocations: 53.5 kB / 361.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.09136, allocations: 55.73 kB / 361.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.09137, allocations: 0 / 361.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.09138, allocations: 4 kB / 361.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.09139, allocations: 0 / 361.5 MB, free: 11.03 MB / 302.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.0004437/0.09184, allocations: 371.5 kB / 361.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.09188, allocations: 12.02 kB / 361.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.074e-05/0.09192, allocations: 30.75 kB / 361.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.09205, allocations: 32.77 kB / 361.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.09224, allocations: 196.7 kB / 362.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.09226, allocations: 8.125 kB / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.09227, allocations: 0 / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.09254, allocations: 105 kB / 362.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.09256, allocations: 7.938 kB / 362.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.09257, allocations: 0 / 362.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.09258, allocations: 0 / 362.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/0.09267, allocations: 23.98 kB / 362.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.09295, allocations: 265.7 kB / 362.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.793e-05/0.09304, allocations: 49.14 kB / 362.6 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.0931, allocations: 21.78 kB / 362.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.09313, allocations: 3.984 kB / 362.6 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.09316, allocations: 34.56 kB / 362.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.09317, allocations: 0 / 362.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002249/0.0934, allocations: 73.53 kB / 362.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.09346, allocations: 89.03 kB / 362.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.09359, allocations: 146 kB / 362.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.09362, allocations: 29.7 kB / 363 MB, free: 9.324 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.09368, allocations: 92.03 kB / 363 MB, free: 9.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.0937, allocations: 8 kB / 363.1 MB, free: 9.223 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.09372, allocations: 9.719 kB / 363.1 MB, free: 9.207 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.09383, allocations: 310.8 kB / 363.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.09388, allocations: 15.98 kB / 363.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-05/0.09393, allocations: 25.66 kB / 363.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.865e-05/0.09401, allocations: 29.7 kB / 363.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.09402, allocations: 0 / 363.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001283/0.09416, allocations: 73.58 kB / 363.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.09418, allocations: 4 kB / 363.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.09419, allocations: 0 / 363.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.0942, allocations: 3.938 kB / 363.5 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.301e-05/0.09427, allocations: 8 kB / 363.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.09428, allocations: 3.938 kB / 363.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.09433, allocations: 11.97 kB / 363.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.09434, allocations: 0 / 363.5 MB, free: 8.703 MB / 302.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.043e-05/0.09442, allocations: 125.8 kB / 363.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/0.09449, allocations: 37.61 kB / 363.7 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.09453, allocations: 15.86 kB / 363.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.09453, allocations: 0 / 363.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.09454, allocations: 3.938 kB / 363.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.09455, allocations: 0 / 363.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.09471, allocations: 169.7 kB / 363.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.09472, allocations: 0 / 363.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/0.09477, allocations: 7.984 kB / 363.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.09478, allocations: 4 kB / 363.9 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.09479, allocations: 4.031 kB / 363.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.0948, allocations: 0 / 363.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.09481, allocations: 7.922 kB / 363.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.09497, allocations: 168.2 kB / 364.1 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.09503, allocations: 89.12 kB / 364.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.09505, allocations: 0 / 364.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.09513, allocations: 7.984 kB / 364.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.09516, allocations: 3.938 kB / 364.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.09517, allocations: 8 kB / 364.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.385e-05/0.09525, allocations: 110.6 kB / 364.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09526, allocations: 0 / 364.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.09547, allocations: 7.906 kB / 364.3 MB, free: 7.844 MB / 302.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.0004074/0.09589, allocations: 0.6938 MB / 365 MB, free: 7.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.09601, allocations: 28.02 kB / 365 MB, free: 7.094 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.09602, allocations: 0 / 365 MB, free: 7.094 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.687e-05/0.09606, allocations: 8 kB / 365 MB, free: 7.086 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.09639, allocations: 31.83 kB / 365.1 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.09757, allocations: 1.363 MB / 366.4 MB, free: 5.598 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.09784, allocations: 0.6887 MB / 367.1 MB, free: 4.883 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.957e-05/0.09788, allocations: 4 kB / 367.1 MB, free: 4.879 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.09792, allocations: 15.42 kB / 367.1 MB, free: 4.863 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09793, allocations: 0 / 367.1 MB, free: 4.863 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.878/1.976, allocations: 1.397 MB / 368.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/1.976, allocations: 215.9 kB / 368.7 MB, free: 3.363 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/4.434, allocations: 0 / 368.7 MB, free: 3.363 MB / 302.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