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.001188/0.001188, allocations: 118.1 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.91 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3067, allocations: 50.56 MB / 408.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003909/0.3107, allocations: 1.572 MB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.3119, allocations: 0.5493 MB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.3121, allocations: 0 / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.892e-05/0.3122, allocations: 7.922 kB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.3124, allocations: 15.88 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.3128, allocations: 59.81 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.313, allocations: 43.8 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.3132, allocations: 24.16 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.3133, allocations: 27.86 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.3134, allocations: 23.86 kB / 411.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.3135, allocations: 0 / 411.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.285e-05/0.3135, allocations: 12 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.3136, allocations: 15.92 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.667e-05/0.3136, allocations: 23.8 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.3138, allocations: 62.69 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3138, allocations: 4 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3139, allocations: 0 / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3139, allocations: 0 / 411.2 MB, free: 15.12 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.0006059/0.3145, allocations: 383 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3145, allocations: 12.03 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.3146, allocations: 38.73 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.3148, allocations: 16.89 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.3151, allocations: 212.2 kB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.3152, allocations: 4.125 kB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.3152, allocations: 8 kB / 411.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.3155, allocations: 109 kB / 411.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3155, allocations: 0 / 411.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.3156, allocations: 0 / 411.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.3156, allocations: 4 kB / 411.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.548e-05/0.3157, allocations: 19.92 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.3161, allocations: 261.8 kB / 412.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.32e-05/0.3162, allocations: 49.14 kB / 412.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.499e-05/0.3162, allocations: 21.77 kB / 412.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.3163, allocations: 8 kB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.3163, allocations: 30.56 kB / 412.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.442e-06/0.3163, allocations: 0 / 412.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003554/0.3167, allocations: 69.56 kB / 412.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.3167, allocations: 77.36 kB / 412.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.3169, allocations: 153.7 kB / 412.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3169, allocations: 25.7 kB / 412.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.317, allocations: 92.08 kB / 412.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.317, allocations: 4 kB / 412.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.3171, allocations: 13.72 kB / 412.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3172, allocations: 318.8 kB / 413.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.743e-05/0.3173, allocations: 8 kB / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.51e-05/0.3173, allocations: 25.64 kB / 413.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.646e-05/0.3174, allocations: 33.64 kB / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3174, allocations: 0 / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001292/0.3176, allocations: 61.58 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3176, allocations: 4 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3176, allocations: 4.125 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.3176, allocations: 0 / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.186e-05/0.3177, allocations: 7.984 kB / 413.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3177, allocations: 7.938 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.735e-05/0.3178, allocations: 4 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.3178, allocations: 0 / 413.2 MB, free: 12.8 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.0001153/0.3179, allocations: 121.8 kB / 413.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.468e-05/0.318, allocations: 37.64 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.333e-05/0.318, allocations: 15.91 kB / 413.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.318, allocations: 0 / 413.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.318, allocations: 7.938 kB / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3181, allocations: 3.938 kB / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.3183, allocations: 165.7 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3183, allocations: 0 / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.3184, allocations: 15.92 kB / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.3184, allocations: 3.984 kB / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.3184, allocations: 0 / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3184, allocations: 0 / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3184, allocations: 3.938 kB / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.3186, allocations: 164.3 kB / 413.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.257e-05/0.3187, allocations: 89.05 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.3188, allocations: 0 / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.557e-05/0.3188, allocations: 4 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.3189, allocations: 7.938 kB / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3189, allocations: 11.97 kB / 413.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.319, allocations: 110.4 kB / 414 MB, free: 11.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.319, allocations: 0 / 414 MB, free: 11.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.3193, allocations: 4 kB / 414 MB, free: 11.94 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.0005939/0.3199, allocations: 0.6899 MB / 414.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.32, allocations: 23.92 kB / 414.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3201, allocations: 4 kB / 414.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.083e-05/0.3201, allocations: 11.92 kB / 414.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.3205, allocations: 22.14 kB / 414.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.3222, allocations: 1.332 MB / 416.1 MB, free: 9.738 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.3225, allocations: 0.6885 MB / 416.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.011e-05/0.3226, allocations: 4.031 kB / 416.7 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/0.3226, allocations: 23.44 kB / 416.8 MB, free: 8.996 MB / 334.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3226, allocations: 0 / 416.8 MB, free: 8.996 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.3446, allocations: 1.639 MB / 418.4 MB, free: 7.469 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.336/8.68, allocations: 3.625 kB / 418.4 MB, free: 7.469 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.6e-05 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.csv","/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